summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>1999-07-07 20:47:43 +0000
committertron <tron>1999-07-07 20:47:43 +0000
commit92f92c748be2a47e39bb3e6c3700fbe46188127b (patch)
tree16f3f6662f6be356cf663434640610c5940c4412
parent8d0010de69db2745db52f973c390e2724e52776a (diff)
downloadpkgsrc-92f92c748be2a47e39bb3e6c3700fbe46188127b.tar.gz
Fix ELF lossage by linking with "-ltiff -ljpeg -lz" instead of "-ltiff".
-rw-r--r--net/xtraceroute/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/xtraceroute/patches/patch-ab b/net/xtraceroute/patches/patch-ab
new file mode 100644
index 00000000000..76040610c84
--- /dev/null
+++ b/net/xtraceroute/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.3 1999/07/07 20:47:43 tron Exp $
+
+--- configure.orig Sun Feb 28 05:56:14 1999
++++ configure Wed Jul 7 22:40:36 1999
+@@ -3630,7 +3630,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ltiff $LIBS"
++LIBS="-ltiff -ljpeg -lz $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3636 "configure"
+ #include "confdefs.h"
+@@ -3666,7 +3666,7 @@
+ if test "x$have_libtiff" = "x" ; then
+ { echo "configure: error: Missing tiff library" 1>&2; exit 1; }
+ else
+- LIBS="$LIBS -ltiff"
++ LIBS="$LIBS -ltiff -ljpeg -lz"
+ fi
+
+ echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6