ports/92738: [patch] net/libpcap LIBPCAP_OVERWRITE_BASES does not work
Hendrik Scholz
hendrik at scholz.net
Thu Feb 2 14:10:05 UTC 2006
>Number: 92738
>Category: ports
>Synopsis: [patch] net/libpcap LIBPCAP_OVERWRITE_BASES does not work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 02 14:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD plant.wormulon.net 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Aug 13 11:32:22 CEST 2004 hscholz at h2012.ka.strato.de:/usr/src/sys/i386/compile/PLANT i386
>Description:
# make LIBPCAP_OVERWRITE_BASE=yes
failes when patching Makefile.in
>How-To-Repeat:
# cd /usr/ports/net/libpcap
# make LIBPCAP_OVERWRITE_BASE=yes patch
>Fix:
--- libpcap-patchbase.diff begins here ---
Index: files/patchbase-Makefile.in
===================================================================
RCS file: /home/ncvs/ports/net/libpcap/files/patchbase-Makefile.in,v
retrieving revision 1.1
diff -u -u -r1.1 patchbase-Makefile.in
--- files/patchbase-Makefile.in 13 Jan 2004 18:04:51 -0000 1.1
+++ files/patchbase-Makefile.in 2 Feb 2006 14:00:40 -0000
@@ -1,6 +1,6 @@
---- Makefile.in.orig Thu Jan 8 16:38:30 2004
-+++ Makefile.in Thu Jan 8 16:41:40 2004
-@@ -96,13 +96,17 @@
+--- Makefile.in.orig Mon Dec 15 02:35:03 2003
++++ Makefile.in Thu Feb 2 14:57:20 2006
+@@ -97,13 +97,17 @@
CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c
@@ -16,11 +16,11 @@
+ @rm -f $@
+ $(CC) -shared -Wl,-x -o libpcap.so.2 -Wl,-soname,libpcap.so.2 `lorder *.o | tsort -q`
+
- scanner.c: $(srcdir)/scanner.l
- @rm -f $@
- $(LEX) -t $< > $$$$.$@; mv $$$$.$@ $@
-@@ -154,6 +158,8 @@
- install:
+ shared: libpcap.$(DYEXT)
+
+ #
+@@ -173,6 +177,8 @@
+ install: libpcap.a
[ -d $(DESTDIR)$(libdir) ] || \
(mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
+ $(INSTALL_DATA) libpcap.so.2 $(DESTDIR)$(libdir)/libpcap.so.2
--- libpcap-patchbase.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list