blob: de0976cc8ea884a19d970b42e054a183a8225a45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: buildlink3.mk,v 1.23 2013/02/06 19:30:54 jperkin Exp $
.include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_TREE+= libpcap
.if !defined(LIBPCAP_BUILDLINK3_MK)
LIBPCAP_BUILDLINK3_MK:=
# XXX?
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.5.0
BUILDLINK_ABI_DEPENDS.libpcap?= libpcap>=1.3.0nb1
BUILDLINK_PKGSRCDIR.libpcap?= ../../net/libpcap
# on Solaris, we always need libnsl and libsocket because libpcap.a
# references symbols in them.
.if ${OPSYS} == "SunOS"
BUILDLINK_LDADD.libpcap+= -lnsl -lsocket
BUILDLINK_LDFLAGS.libpcap?= ${BUILDLINK_LDADD.libpcap}
.endif
.endif # LIBPCAP_BUILDLINK3_MK
BUILDLINK_TREE+= -libpcap
|