aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-11-04 15:55:12 +0800
committertg <tg@FreeBSD.org>1997-11-04 15:55:12 +0800
commit0316db18864fccb5b61d127c73fd1737afee907b (patch)
treef954240ba5ddd9c9b3fd5e9c1d92526949a0c9fd /science
parent702b68c38461db07190b098c290e4454ab0b49e7 (diff)
downloadfreebsd-ports-gnome-0316db18864fccb5b61d127c73fd1737afee907b.tar.gz
freebsd-ports-gnome-0316db18864fccb5b61d127c73fd1737afee907b.tar.zst
freebsd-ports-gnome-0316db18864fccb5b61d127c73fd1737afee907b.zip
Fix post-patch.
Diffstat (limited to 'science')
-rw-r--r--science/hdf/scripts/post-patch14
-rw-r--r--science/hdf5-18/scripts/post-patch14
-rw-r--r--science/hdf5/scripts/post-patch14
3 files changed, 21 insertions, 21 deletions
diff --git a/science/hdf/scripts/post-patch b/science/hdf/scripts/post-patch
index d0c121f81cd2..1afaf52ab9ef 100644
--- a/science/hdf/scripts/post-patch
+++ b/science/hdf/scripts/post-patch
@@ -1,6 +1,6 @@
#!/bin/sh
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -10,7 +10,7 @@ patch -p << END_OF_PATCH
+#CFLAGS = -ansi -O
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -20,7 +20,7 @@ patch -p << END_OF_PATCH
+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -30,7 +30,7 @@ patch -p << END_OF_PATCH
+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -43,7 +43,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -56,7 +56,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -69,7 +69,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
diff --git a/science/hdf5-18/scripts/post-patch b/science/hdf5-18/scripts/post-patch
index d0c121f81cd2..1afaf52ab9ef 100644
--- a/science/hdf5-18/scripts/post-patch
+++ b/science/hdf5-18/scripts/post-patch
@@ -1,6 +1,6 @@
#!/bin/sh
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -10,7 +10,7 @@ patch -p << END_OF_PATCH
+#CFLAGS = -ansi -O
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -20,7 +20,7 @@ patch -p << END_OF_PATCH
+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -30,7 +30,7 @@ patch -p << END_OF_PATCH
+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -43,7 +43,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -56,7 +56,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -69,7 +69,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
diff --git a/science/hdf5/scripts/post-patch b/science/hdf5/scripts/post-patch
index d0c121f81cd2..1afaf52ab9ef 100644
--- a/science/hdf5/scripts/post-patch
+++ b/science/hdf5/scripts/post-patch
@@ -1,6 +1,6 @@
#!/bin/sh
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -10,7 +10,7 @@ patch -p << END_OF_PATCH
+#CFLAGS = -ansi -O
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -20,7 +20,7 @@ patch -p << END_OF_PATCH
+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -30,7 +30,7 @@ patch -p << END_OF_PATCH
+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -43,7 +43,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -56,7 +56,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig
@@ -69,7 +69,7 @@ patch -p << END_OF_PATCH
END_OF_PATCH
done
-for f in `find $1 -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
+for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="`
do
patch -p << END_OF_PATCH
--- $f.orig