aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-10 23:45:07 +0800
committerlioux <lioux@FreeBSD.org>2001-12-10 23:45:07 +0800
commit31e6eea40119accbc6bfa54723ef26439ab3f080 (patch)
treed6b3c219ea283503a8cb1c02e0884cd8c52a3347 /lang
parenta7d6b802f386b7cf33266e2c58375906d6c35e27 (diff)
downloadfreebsd-ports-gnome-31e6eea40119accbc6bfa54723ef26439ab3f080.tar.gz
freebsd-ports-gnome-31e6eea40119accbc6bfa54723ef26439ab3f080.tar.zst
freebsd-ports-gnome-31e6eea40119accbc6bfa54723ef26439ab3f080.zip
Missing patch. Part of Makefile revision 1.2 fix
PR: 32645 Submitted by: Kuang-che Wu <kcwu@ck.tp.edu.tw> (PR), maintainer (fix)
Diffstat (limited to 'lang')
-rw-r--r--lang/fpc-devel/files/fix-samplecfg11
-rw-r--r--lang/fpc/files/fix-samplecfg11
2 files changed, 20 insertions, 2 deletions
diff --git a/lang/fpc-devel/files/fix-samplecfg b/lang/fpc-devel/files/fix-samplecfg
index 03f1f13c9e79..187375e6354f 100644
--- a/lang/fpc-devel/files/fix-samplecfg
+++ b/lang/fpc-devel/files/fix-samplecfg
@@ -1,5 +1,5 @@
--- samplecfg Sat Dec 23 15:02:40 2000
-+++ samplecfg.new Thu Nov 29 07:44:20 2001
++++ samplecfg.new Sun Dec 9 07:12:15 2001
@@ -4,7 +4,7 @@
#
# Generate Sample Free Pascal configuration file
@@ -9,6 +9,15 @@
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
diff --git a/lang/fpc/files/fix-samplecfg b/lang/fpc/files/fix-samplecfg
index 03f1f13c9e79..187375e6354f 100644
--- a/lang/fpc/files/fix-samplecfg
+++ b/lang/fpc/files/fix-samplecfg
@@ -1,5 +1,5 @@
--- samplecfg Sat Dec 23 15:02:40 2000
-+++ samplecfg.new Thu Nov 29 07:44:20 2001
++++ samplecfg.new Sun Dec 9 07:12:15 2001
@@ -4,7 +4,7 @@
#
# Generate Sample Free Pascal configuration file
@@ -9,6 +9,15 @@
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