1 # $NetBSD: buildlink3.mk,v 1.13 2006/12/12 21:52:37 joerg Exp $
3 BUILDLINK_TREE+= tcp_wrappers
5 .if !defined(TCP_WRAPPERS_BUILDLINK3_MK)
6 TCP_WRAPPERS_BUILDLINK3_MK:=
8 BUILDLINK_API_DEPENDS.tcp_wrappers+= tcp_wrappers>=7.6.1nb1
9 BUILDLINK_ABI_DEPENDS.tcp_wrappers+= tcp_wrappers>=7.6.1nb3
10 BUILDLINK_PKGSRCDIR.tcp_wrappers?= ../../security/tcp_wrappers
12 # need libnsl and libsocket to link into an executable on Solaris.
13 .include "../../mk/bsd.fast.prefs.mk"
15 .if ${OPSYS} == "SunOS"
16 BUILDLINK_LDADD.tcp_wrappers+= -lnsl -lsocket
17 BUILDLINK_LDFLAGS.tcp_wrappers?= ${BUILDLINK_LDADD.tcp_wrappers}
19 .endif # TCP_WRAPPERS_BUILDLINK3_MK
21 BUILDLINK_TREE+= -tcp_wrappers