diff options
author | grant <grant@pkgsrc.org> | 2005-10-18 04:32:01 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-10-18 04:32:01 +0000 |
commit | e66368ac5a7ded62fd6090ff8e77840ddc3f14a0 (patch) | |
tree | 1c39c3728a77dc9087a8479be1501089f6fd1a6c /security/tcp_wrappers | |
parent | be631268a575b617cbf1558f2da5c65814615739 (diff) | |
download | pkgsrc-e66368ac5a7ded62fd6090ff8e77840ddc3f14a0.tar.gz |
tcp_wrappers needs libnsl, libsocket for linking into an executable on
Solaris.
Diffstat (limited to 'security/tcp_wrappers')
-rw-r--r-- | security/tcp_wrappers/buildlink3.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/tcp_wrappers/buildlink3.mk b/security/tcp_wrappers/buildlink3.mk index 541b25feff5..d948416e373 100644 --- a/security/tcp_wrappers/buildlink3.mk +++ b/security/tcp_wrappers/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2004/10/03 00:18:13 tv Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2005/10/18 04:32:01 grant Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ TCP_WRAPPERS_BUILDLINK3_MK:= ${TCP_WRAPPERS_BUILDLINK3_MK}+ @@ -16,4 +16,12 @@ BUILDLINK_RECOMMENDED.tcp_wrappers+= tcp_wrappers>=7.6.1nb3 BUILDLINK_PKGSRCDIR.tcp_wrappers?= ../../security/tcp_wrappers .endif # TCP_WRAPPERS_BUILDLINK3_MK +# need libnsl and libsocket to link into an executable on Solaris. +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +BUILDLINK_LDADD.tcp_wrappers+= -lnsl -lsocket +BUILDLINK_LDFLAGS.tcp_wrappers?= ${BUILDLINK_LDADD.tcp_wrappers} +.endif + BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |