aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-05-28 08:12:18 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-05-28 08:12:18 +0000
commitb00ab7548b418624b6719ab8a2e8aaeade767a70 (patch)
treea300b8fb3f3e9cbbd48c47fde148dcb40453e7de /lib/Makefile
parent7e3d9013f2ff9291970339df66a18ad9343ed433 (diff)
parentd109bf9e4b609b5a0626b433e56db4a47dc530bb (diff)
downloadsrc-b00ab7548b418624b6719ab8a2e8aaeade767a70.tar.gz
src-b00ab7548b418624b6719ab8a2e8aaeade767a70.zip
MFV r333789: libpcap 1.9.0 (pre-release)
MFC after: 1 month Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=334277
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index b8ccf56df10e..675b7a44cae9 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -67,7 +67,7 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \
libopie \
libpam \
libpathconv \
- libpcap \
+ ${_libpcap} \
libpjdlog \
${_libproc} \
libprocstat \
@@ -184,6 +184,14 @@ SUBDIR.${MK_PMC}+= libipt
SUBDIR.${MK_BHYVE}+= libvmmapi
.endif
+.if ${MK_OFED} == "no"
+#
+# When OFED is enabled libpcap is built as part of
+# OFED due to library dependencies
+#
+_libpcap= libpcap
+.endif
+
.if ${MACHINE_CPUARCH} != "sparc64"
_libproc= libproc
_librtld_db= librtld_db