diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-01-16 05:08:57 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-01-16 05:08:57 +0000 |
commit | df3e7e93b8317ece24fbe7d0c9e4aa1ebb0feca0 (patch) | |
tree | 1d9ecedb74d255866c8e1e5df9db0f2739a8ba66 /lang/fpc-devel/files/fix-samplecfg | |
parent | Convert a few more uses of INDEX to ${INDEXFILE} (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_0_0'.release/5.0.0
Notes
Notes:
svn path=/head/; revision=73228
svn path=/tags/RELEASE_5_0_0/; revision=73229; tag=release/5.0.0
Diffstat (limited to 'lang/fpc-devel/files/fix-samplecfg')
-rw-r--r-- | lang/fpc-devel/files/fix-samplecfg | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lang/fpc-devel/files/fix-samplecfg b/lang/fpc-devel/files/fix-samplecfg deleted file mode 100644 index 187375e6354f..000000000000 --- a/lang/fpc-devel/files/fix-samplecfg +++ /dev/null @@ -1,39 +0,0 @@ ---- 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 |