head	1.3;
access;
symbols
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.3
date	2003.07.12.21.03.30;	author obraun;	state dead;
branches;
next	1.2;

1.2
date	2001.12.10.15.45.07;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.09.02.28.27;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.3
log
@* Upgrade to 1.0.6.
* Fix build on -current.

PR:		ports/53884
Submitted by:	Matthew West <mwest@@uct.ac.za>
Approved by:	maintainer
@
text
@--- samplecfg	Sat Dec 23 15:02:40 2000
+++ samplecfg.new	Sun Dec  9 07:12:15 2001
@@@@ -4,7 +4,7 @@@@
 #
 #  Generate Sample Free Pascal configuration file
 #
-if [ $# == 0 ]; then
+if [ $# -eq 0 ]; then
   echo 'Usage :'
   echo 'samplecfg fpcdir confdir'
   echo 'fpcdir = Path where FPC is installed'
@@@@ -29,7 +29,7 @@@@
 #
 if [ -f $thefile ] ; then
   mv $thefile $thefile.orig  >/dev/null 2>&1
-  if [ $? == 0 ]; then
+  if [ $? -eq 0 ]; then
     echo Saved old config to $thefile.orig
   else
     echo Could not save old config. Bailing out...
@@@@ -38,9 +38,15 @@@@
 fi
 
 # Find path to libgcc.a
-GCCSPEC=`(gcc -v 2>&1)| head -n 1| awk '{ print $4 } '`
-GCCDIR=`dirname $GCCSPEC`
-echo Found libgcc.a in $GCCDIR
+#GCCSPEC=`(gcc -v 2>&1)| head -n 1| awk '{ print $4 } '`
+#GCCDIR=`dirname $GCCSPEC`
+GCCDIR=/usr/lib
+if [ -f $GCCDIR/libgcc.a ]; then
+    echo Found libgcc.a in $GCCDIR
+else
+    echo FreeBSD libgcc.a could not be found.  Bailing out...
+    exit
+fi
 
 # Write the file
 echo Writing sample configuration file to $thefile
@


1.2
log
@Missing patch. Part of Makefile revision 1.2 fix

PR:		32645
Submitted by:	Kuang-che Wu <kcwu@@ck.tp.edu.tw> (PR),
		maintainer (fix)
@
text
@@


1.1
log
@o New port fpc version 1.0.4: Free Pascal beta compiler with Turbo,
  Delphi and other extensions
o Borrows install scripting tricks from halflifeserver port

PR:		32385
Submitted by:	John Merryweather Cooper <jmcoopr@@webmail.bmi.net>
@
text
@d2 1
a2 1
+++ samplecfg.new	Thu Nov 29 07:44:20 2001
d12 9
@

