ports/149008: [patch] net/libpcap - Fix DAG Support
Ryan Steinmetz
rpsfa at rit.edu
Tue Jul 27 18:30:02 UTC 2010
>Number: 149008
>Category: ports
>Synopsis: [patch] net/libpcap - Fix DAG Support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 27 18:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ryan Steinmetz
>Release: 8.0-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD xxx.rit.edu 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #6: Tue Jul 13 07:16:10 EDT 2010 root at xxx.rit.edu:/usr/obj/usr/src/sys/xxx amd64
>Description:
DAG Libraries, when installed under ${LOCALBASE}, are not automatically discovered by the libpcap port and linking fails.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN net/libpcap/Makefile /tmp/libpcap/Makefile
--- net/libpcap/Makefile 2010-04-20 21:51:03.000000000 -0400
+++ /tmp/libpcap/Makefile 2010-07-27 14:13:10.000000000 -0400
@@ -115,6 +115,9 @@
.if !defined(WITH_DAG)
CONFIGURE_ARGS+= --without-dag
+.else
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
.if defined(LIBPCAP_OVERWRITE_BASE)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list