summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-12 20:32:43 +0000
committersnj <snj@pkgsrc.org>2004-04-12 20:32:43 +0000
commit7e5ae6147851fc6708280f776255a0d3422d7653 (patch)
tree7a839b4c3da30ea0acfd61ec8988882b881f620e /security
parent43f8bc4bd8dd614ea09618c100927a09227910f7 (diff)
downloadpkgsrc-7e5ae6147851fc6708280f776255a0d3422d7653.tar.gz
Convert to buildlink3.
Diffstat (limited to 'security')
-rw-r--r--security/libident/Makefile4
-rw-r--r--security/libksba04/Makefile4
-rw-r--r--security/libksba04/buildlink2.mk24
-rw-r--r--security/libksba04/buildlink3.mk18
4 files changed, 22 insertions, 28 deletions
diff --git a/security/libident/Makefile b/security/libident/Makefile
index d32fdda0294..bdb4a92d5a6 100644
--- a/security/libident/Makefile
+++ b/security/libident/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 22:52:58 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/12 20:36:34 snj Exp $
#
DISTNAME= libident-0.22
@@ -8,7 +8,7 @@ MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/libs/
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Small library to interface to the ident protocol server (rfc1413)
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_LIBTOOL= # defined
ALL_TARGET= netbsd
diff --git a/security/libksba04/Makefile b/security/libksba04/Makefile
index bc07ae85f6e..236fb541dc0 100644
--- a/security/libksba04/Makefile
+++ b/security/libksba04/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/01/25 22:29:50 kleink Exp $
+# $NetBSD: Makefile,v 1.4 2004/04/12 20:32:43 snj Exp $
#
DISTNAME= libksba-0.4.7
@@ -10,7 +10,7 @@ MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://www.g10code.com/p-libksba.html
COMMENT= X.509 library (0.4 branch)
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
diff --git a/security/libksba04/buildlink2.mk b/security/libksba04/buildlink2.mk
deleted file mode 100644
index f31d0e3c248..00000000000
--- a/security/libksba04/buildlink2.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.3 2004/01/25 22:29:50 kleink Exp $
-#
-# This Makefile fragment is included by packages that use libksba.
-#
-# This file was created automatically using createbuildlink-3.0.
-#
-
-.if !defined(LIBKSBA_BUILDLINK2_MK)
-LIBKSBA_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libksba
-BUILDLINK_DEPENDS.libksba?= libksba-0.4.7nb1
-BUILDLINK_PKGSRCDIR.libksba?= ../../security/libksba04
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libksba=libksba
-BUILDLINK_PREFIX.libksba_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libksba+= include/ksba.h
-BUILDLINK_FILES.libksba+= lib/libksba.*
-
-BUILDLINK_TARGETS+= libksba-buildlink
-
-libksba-buildlink: _BUILDLINK_USE
-
-.endif # LIBKSBA_BUILDLINK2_MK
diff --git a/security/libksba04/buildlink3.mk b/security/libksba04/buildlink3.mk
new file mode 100644
index 00000000000..5208b6ae4c7
--- /dev/null
+++ b/security/libksba04/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 20:32:43 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBKSBA_BUILDLINK3_MK:= ${LIBKSBA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libksba
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibksba}
+BUILDLINK_PACKAGES+= libksba
+
+.if !empty(LIBKSBA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libksba+= libksba>=0.4.7nb1
+BUILDLINK_PKGSRCDIR.libksba?= ../../security/libksba04
+.endif # LIBKSBA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}