SOURCES: yaz-pcap.patch (NEW) - use shared libpcap

qboosh qboosh at pld-linux.org
Sun Feb 18 20:38:58 CET 2007


Author: qboosh                       Date: Sun Feb 18 19:38:58 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use shared libpcap

---- Files affected:
SOURCES:
   yaz-pcap.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/yaz-pcap.patch
diff -u /dev/null SOURCES/yaz-pcap.patch:1.1
--- /dev/null	Sun Feb 18 20:38:58 2007
+++ SOURCES/yaz-pcap.patch	Sun Feb 18 20:38:53 2007
@@ -0,0 +1,23 @@
+--- yaz-2.1.48/configure.ac.orig	2007-02-18 20:09:35.453060000 +0100
++++ yaz-2.1.48/configure.ac	2007-02-18 20:26:37.223287605 +0100
+@@ -181,20 +181,9 @@
+ 	    ZIFFY_PROG=ziffy
+ 	fi
+     else
+-	if test -d /usr/local &&
+-	    test -r /usr/local/lib/libpcap.a &&
+-	    test -r /usr/local/include/pcap.h; then
+-	    PCAP_DIR="/usr/local"
+-	    PCAP_LIBS="${LIBS} -L$PCAP_DIR/lib -lpcap"
+-	    PCAP_CFLAGS="${INCS} -I$PCAP_DIR/include"
+-	    ZIFFY_PROG=ziffy
+-	elif test -d /usr &&
+-	    test -r /usr/lib/libpcap.a &&
+-	    test -r /usr/include/pcap.h; then
+ 	    PCAP_DIR="/usr"
+ 	    PCAP_LIBS="${LIBS} -lpcap"
+ 	    ZIFFY_PROG=ziffy
+-	fi
+     fi
+ fi
+ if test -z "$ZIFFY_PROG"; then
================================================================


More information about the pld-cvs-commit mailing list