summaryrefslogtreecommitdiff
path: root/science/hdf5/scripts/post-patch
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-21 21:40:02 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-21 21:40:02 +0000
commit9ba070b2960d7d42663c5fd9cb4c922eb8298736 (patch)
tree0f57751816aeca0560ee5d1d1a117df0d54dadd9 /science/hdf5/scripts/post-patch
parentVersion 2.0.2 -> 2.1a4 (diff)
Respect prefix. Make this build on -current by changing
"cc /usr/lib/libz.a" to "cc -lz".
Notes
Notes: svn path=/head/; revision=12705
Diffstat (limited to '')
-rw-r--r--science/hdf5/scripts/post-patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/hdf5/scripts/post-patch b/science/hdf5/scripts/post-patch
index 1afaf52ab9ef..0922398e3d40 100644
--- a/science/hdf5/scripts/post-patch
+++ b/science/hdf5/scripts/post-patch
@@ -39,7 +39,7 @@ patch -p << END_OF_PATCH
-ZLIBINC=\$(srcdir)/../zlib
-ZLIBLIB=\$(srcdir)/../zlib
+ZLIBINC=/usr/include
-+ZLIBLIB=/usr/lib
++ZLIBLIB=-lz \$(pwrkdir)
END_OF_PATCH
done
@@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
-+ZLIBLIB=/usr/lib
++ZLIBLIB=-lz \$(pwrkdir)
+ZLIBINC=/usr/include
END_OF_PATCH
done