aboutsummaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2010-08-16 02:20:43 +0000
committerWesley Shields <wxs@FreeBSD.org>2010-08-16 02:20:43 +0000
commit2d783f5218c539752f51c8a1988eecd22d2f5338 (patch)
tree972477f5a5372b405670d0f0c9e5d69d55650fe6 /net/libpcap
parent09077111fca0d6553e5368958a1d881e7fc4b932 (diff)
downloadports-2d783f5218c539752f51c8a1988eecd22d2f5338.tar.gz
ports-2d783f5218c539752f51c8a1988eecd22d2f5338.zip
Fix building when using WITH_DAG.
PR: ports/149008 Submitted by: Ryan Steinmetz <rpsfa@rit.edu>
Notes
Notes: svn path=/head/; revision=259327
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 360895337c5b..6be738b046e2 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -115,6 +115,9 @@ CONFIGURE_ARGS+= --enable-ipv6
.if !defined(WITH_DAG)
CONFIGURE_ARGS+= --without-dag
+.else
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
.if defined(LIBPCAP_OVERWRITE_BASE)