summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/tcp_wrappers/buildlink2.mk')
-rw-r--r--security/tcp_wrappers/buildlink2.mk15
1 files changed, 3 insertions, 12 deletions
diff --git a/security/tcp_wrappers/buildlink2.mk b/security/tcp_wrappers/buildlink2.mk
index 721834b4f4f..7e8bd34224d 100644
--- a/security/tcp_wrappers/buildlink2.mk
+++ b/security/tcp_wrappers/buildlink2.mk
@@ -1,19 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.1.2.1 2002/06/06 06:54:51 jlam Exp $
-#
-# This Makefile fragment is included by packages that use tcp_wrappers.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Optionally define BUILDLINK_DEPENDS.tcp_wrappers to the dependency
-# pattern for the version of tcp_wrappers desired.
-# (2) Include this Makefile fragment in the package Makefile.
+# $NetBSD: buildlink2.mk,v 1.1.2.2 2002/06/21 23:00:39 jlam Exp $
.if !defined(TCP_WRAPPERS_BUILDLINK2_MK)
TCP_WRAPPERS_BUILDLINK2_MK= # defined
-.include "../../mk/bsd.buildlink2.mk"
-
BUILDLINK_DEPENDS.tcp_wrappers?= tcp_wrappers>=7.6.1nb1
+BUILDLINK_PKGSRCDIR.tcp_wrappers?= ../../security/tcp_wrappers
.if exists(/usr/include/tcpd.h)
_NEED_TCP_WRAPPERS= NO
@@ -22,7 +13,7 @@ _NEED_TCP_WRAPPERS= YES
.endif
.if ${_NEED_TCP_WRAPPERS} == "YES"
-DEPENDS+= ${BUILDLINK_DEPENDS.tcp_wrappers}:../../security/tcp_wrappers
+BUILDLINK_PACKAGES+= tcp_wrappers
EVAL_PREFIX+= BUILDLINK_PREFIX.tcp_wrappers=tcp_wrappers
BUILDLINK_PREFIX.tcp_wrappers_DEFAULT= ${LOCALBASE}
.else