summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-12 20:37:17 +0000
committersnj <snj@pkgsrc.org>2004-04-12 20:37:17 +0000
commit5de2429b684eb19c68b2ab356c050e5e201470d0 (patch)
tree745082cd16cc4a91d29e619b2ead68ec410d81f0 /security
parent7e5ae6147851fc6708280f776255a0d3422d7653 (diff)
downloadpkgsrc-5de2429b684eb19c68b2ab356c050e5e201470d0.tar.gz
Oops. Finish conversion to buildlink3.
Diffstat (limited to 'security')
-rw-r--r--security/libident/buildlink2.mk20
-rw-r--r--security/libident/buildlink3.mk18
2 files changed, 18 insertions, 20 deletions
diff --git a/security/libident/buildlink2.mk b/security/libident/buildlink2.mk
deleted file mode 100644
index 9abc8b91793..00000000000
--- a/security/libident/buildlink2.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2002/10/22 11:44:58 wiz Exp $
-#
-
-.if !defined(LIBIDENT_BUILDLINK2_MK)
-LIBIDENT_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libident
-BUILDLINK_DEPENDS.libident?= libident>=0.22
-BUILDLINK_PKGSRCDIR.libident?= ../../security/libident
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libident=libident
-BUILDLINK_PREFIX.libident_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libident+= include/ident.h
-BUILDLINK_FILES.libident+= lib/libident.*
-
-BUILDLINK_TARGETS+= libident-buildlink
-
-libident-buildlink: _BUILDLINK_USE
-
-.endif # LIBIDENT_BUILDLINK2_MK
diff --git a/security/libident/buildlink3.mk b/security/libident/buildlink3.mk
new file mode 100644
index 00000000000..74fb0c5374e
--- /dev/null
+++ b/security/libident/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 20:37:17 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBIDENT_BUILDLINK3_MK:= ${LIBIDENT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libident
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibident}
+BUILDLINK_PACKAGES+= libident
+
+.if !empty(LIBIDENT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libident+= libident>=0.22
+BUILDLINK_PKGSRCDIR.libident?= ../../security/libident
+.endif # LIBIDENT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}