aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-07-09 18:28:11 +0800
committerbms <bms@FreeBSD.org>2007-07-09 18:28:11 +0800
commit7a91853a0f82ea3a3473a9956cc078825b91ebb7 (patch)
treedd90a629f8f8079373f2d1c5c7df72b4d302d656 /net
parent1c811447407e91d2b597139209746dc47823da8e (diff)
downloadfreebsd-ports-gnome-7a91853a0f82ea3a3473a9956cc078825b91ebb7.tar.gz
freebsd-ports-gnome-7a91853a0f82ea3a3473a9956cc078825b91ebb7.tar.zst
freebsd-ports-gnome-7a91853a0f82ea3a3473a9956cc078825b91ebb7.zip
Fix LIBPCAP_OVERWRITE_BASE for 0.9.6.
Submitted by: Craig Leres
Diffstat (limited to 'net')
-rw-r--r--net/libpcap/files/patchbase-Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/libpcap/files/patchbase-Makefile.in b/net/libpcap/files/patchbase-Makefile.in
index a0726b5359b5..093f74508196 100644
--- a/net/libpcap/files/patchbase-Makefile.in
+++ b/net/libpcap/files/patchbase-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Sun Apr 16 17:17:57 2006
-+++ Makefile.in Sun Apr 16 17:18:08 2006
-@@ -97,22 +97,18 @@
+--- Makefile.in.orig Mon Sep 25 11:06:00 2006
++++ Makefile.in Sun Jul 8 18:36:39 2007
+@@ -98,22 +98,18 @@
CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c
@@ -22,12 +22,12 @@
-libpcap.so: $(OBJ)
+libpcap.so.2: $(OBJ)
@rm -f $@
-- ld -shared -o $@.`cat VERSION` $(OBJ)
+- $(CC) -shared -o $@.`cat VERSION` $(OBJ) $(DAGLIBS)
+ $(CC) -shared -Wl,-x -o libpcap.so.2 -Wl,-soname,libpcap.so.2 `lorder *.o | tsort -q`
# the following rule succeeds, but the result is untested.
libpcap.dylib: $(OBJ)
-@@ -173,6 +169,8 @@
+@@ -174,6 +170,8 @@
install: libpcap.a
[ -d $(DESTDIR)$(libdir) ] || \
(mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))