From 9ba070b2960d7d42663c5fd9cb4c922eb8298736 Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Fri, 21 Aug 1998 21:40:02 +0000 Subject: Respect prefix. Make this build on -current by changing "cc /usr/lib/libz.a" to "cc -lz". --- science/hdf5/scripts/post-patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'science/hdf5/scripts/post-patch') 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 -- cgit v1.2.3