Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 18:20:22 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149008: [patch] net/libpcap - Fix DAG Support
Message-ID:  <201007271820.o6RIKMxF068492@www.freebsd.org>
Resent-Message-ID: <201007271830.o6RIU1Kh063031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007271820.o6RIKMxF068492>