summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-05 09:31:31 +0000
committerjlam <jlam>2004-01-05 09:31:31 +0000
commitd6bfa06973a35023677999e5c61d93db3b76aee9 (patch)
tree5e468c9c5f542e31226f7780d62182ff9f54b072 /security/tcp_wrappers
parentecc4f995c404a2f0ab096f7bf737647d47ec256f (diff)
downloadpkgsrc-d6bfa06973a35023677999e5c61d93db3b76aee9.tar.gz
Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables.
Diffstat (limited to 'security/tcp_wrappers')
-rw-r--r--security/tcp_wrappers/buildlink3.mk26
1 files changed, 9 insertions, 17 deletions
diff --git a/security/tcp_wrappers/buildlink3.mk b/security/tcp_wrappers/buildlink3.mk
index 9f8480e8573..3193d018909 100644
--- a/security/tcp_wrappers/buildlink3.mk
+++ b/security/tcp_wrappers/buildlink3.mk
@@ -1,11 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/01/04 23:34:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 09:31:31 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCP_WRAPPERS_BUILDLINK3_MK:= ${TCP_WRAPPERS_BUILDLINK3_MK}+
-.if !empty(TCP_WRAPPERS_BUILDLINK3_MK:M+)
-. include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.prefs.mk"
+.if !empty(TCP_WRAPPERS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= tcp_wrappers
BUILDLINK_DEPENDS.tcp_wrappers?= tcp_wrappers>=7.6.1nb1
BUILDLINK_PKGSRCDIR.tcp_wrappers?= ../../security/tcp_wrappers
.endif # TCP_WRAPPERS_BUILDLINK3_MK
@@ -20,30 +21,21 @@ BUILDLINK_IS_BUILTIN.tcp_wrappers= YES
.endif
.if !empty(BUILDLINK_CHECK_BUILTIN.tcp_wrappers:M[yY][eE][sS])
-_NEED_TCP_WRAPPERS= NO
+BUILDLINK_USE_BUILTIN.tcp_wrappers= YES
.endif
-.if !defined(_NEED_TCP_WRAPPERS)
+.if !defined(BUILDLINK_USE_BUILTIN.tcp_wrappers)
. if !empty(BUILDLINK_IS_BUILTIN.tcp_wrappers:M[nN][oO])
-_NEED_TCP_WRAPPERS= YES
+BUILDLINK_USE_BUILTIN.tcp_wrappers= NO
. else
-_NEED_TCP_WRAPPERS= NO
+BUILDLINK_USE_BUILTIN.tcp_wrappers= YES
. endif
-MAKEFLAGS+= _NEED_TCP_WRAPPERS="${_NEED_TCP_WRAPPERS}"
.endif
-.if ${_NEED_TCP_WRAPPERS} == "YES"
+.if !empty(BUILDLINK_USE_BUILTIN.tcp_wrappers:M[nN][oO])
. if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= tcp_wrappers
. endif
.endif
-.if !empty(TCP_WRAPPERS_BUILDLINK3_MK:M+)
-. if ${_NEED_TCP_WRAPPERS} == "YES"
-BUILDLINK_PACKAGES+= tcp_wrappers
-. else
-BUILDLINK_PREFIX.tcp_wrappers= /usr
-. endif
-.endif # TCP_WRAPPERS_BUILDLINK3_MK
-
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}