From eaed24a6500b5e0664608d8efa075ee8f42769b3 Mon Sep 17 00:00:00 2001 From: cwt Date: Mon, 1 Sep 1997 07:43:11 +0000 Subject: Correctly probe for -lpng and supply -L$libdir into LDFLAGS when needed. --- math/gnuplot/files/patch-aa | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'math') diff --git a/math/gnuplot/files/patch-aa b/math/gnuplot/files/patch-aa index b322d85284d0..3a205bd3a19d 100644 --- a/math/gnuplot/files/patch-aa +++ b/math/gnuplot/files/patch-aa @@ -1,6 +1,6 @@ ---- configure.orig Sun Jan 12 13:16:51 1997 -+++ configure Sun Jan 12 13:24:04 1997 -@@ -922,6 +922,7 @@ +--- configure Mon May 26 18:28:46 1997 ++++ configure Sun Aug 31 23:26:12 1997 +@@ -1029,6 +1029,7 @@ LASERGNU=lasergnu_noinstall fi @@ -8,3 +8,20 @@ maybe_linuxdriver= # Check whether --with-linux-vga or --without-linux-vga was given. +@@ -3419,7 +3420,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lpng -lz $LIBS" ++LIBS="-L$libdir -lpng -lz $LIBS" + cat > conftest.$ac_ext <