aboutsummaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2007-07-09 10:28:11 +0000
committerBruce M Simpson <bms@FreeBSD.org>2007-07-09 10:28:11 +0000
commit0cb0b2750fb97b351cf771142e9e426307dfc583 (patch)
tree9f9cf1217ff621c8f8f7c45a1a2875bc7f74dae6 /net/libpcap
parent968500757e80b27e1242a50c8cbea96bcccf8d66 (diff)
downloadports-0cb0b2750fb97b351cf771142e9e426307dfc583.tar.gz
ports-0cb0b2750fb97b351cf771142e9e426307dfc583.zip
Fix LIBPCAP_OVERWRITE_BASE for 0.9.6.
Submitted by: Craig Leres
Notes
Notes: svn path=/head/; revision=195291
Diffstat (limited to 'net/libpcap')
-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))