summaryrefslogtreecommitdiff
path: root/security/libnasl
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-03 05:52:55 +0000
committersnj <snj@pkgsrc.org>2004-05-03 05:52:55 +0000
commitdfc98fb315a68a833baf5a189c93d22e95a04e91 (patch)
treeb3f7c3c9db6a2581a910dc724219c691ce1015ae /security/libnasl
parent2a0b8e2d4dcee7c88e7c10d922befa0052705256 (diff)
downloadpkgsrc-dfc98fb315a68a833baf5a189c93d22e95a04e91.tar.gz
Convert to buildlink3.
Diffstat (limited to 'security/libnasl')
-rw-r--r--security/libnasl/Makefile6
-rw-r--r--security/libnasl/buildlink2.mk21
-rw-r--r--security/libnasl/buildlink3.mk20
3 files changed, 23 insertions, 24 deletions
diff --git a/security/libnasl/Makefile b/security/libnasl/Makefile
index 20b0ee7ace4..6e4dc328152 100644
--- a/security/libnasl/Makefile
+++ b/security/libnasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/03/26 02:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/03 05:52:55 snj Exp $
DISTNAME= libnasl-${VERS}
PKGREVISION= 1
@@ -8,7 +8,7 @@ COMMENT= Nessus Attack Scripting Language library
WRKSRC= ${WRKDIR}/libnasl
GNU_CONFIGURE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
-.include "../nessus-libraries/buildlink2.mk"
+.include "../nessus-libraries/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/libnasl/buildlink2.mk b/security/libnasl/buildlink2.mk
deleted file mode 100644
index fcec63a3d8b..00000000000
--- a/security/libnasl/buildlink2.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.6 2004/03/26 02:27:52 wiz Exp $
-#
-
-.if !defined(LIBNASL_BUILDLINK2_MK)
-LIBNASL_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libnasl
-BUILDLINK_DEPENDS.libnasl?= libnasl>=2.0.9
-BUILDLINK_RECOMMENDED.libnasl?= libnasl>=2.0.9nb1
-BUILDLINK_PKGSRCDIR.libnasl?= ../../security/libnasl
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libnasl=libnasl
-BUILDLINK_PREFIX.libnasl_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libnasl+= include/nessus/nasl.h
-BUILDLINK_FILES.libnasl+= lib/libnasl.*
-
-BUILDLINK_TARGETS+= libnasl-buildlink
-
-libnasl-buildlink: _BUILDLINK_USE
-
-.endif # LIBNASL_BUILDLINK2_MK
diff --git a/security/libnasl/buildlink3.mk b/security/libnasl/buildlink3.mk
new file mode 100644
index 00000000000..f1ce3d8fd2b
--- /dev/null
+++ b/security/libnasl/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 05:52:55 snj Exp $
+# XXX BUILDLINK_DEPMETHOD.libnasl?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNASL_BUILDLINK3_MK:= ${LIBNASL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libnasl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnasl}
+BUILDLINK_PACKAGES+= libnasl
+
+.if !empty(LIBNASL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libnasl+= libnasl>=2.0.9
+BUILDLINK_RECOMMENDED.libnasl?= libnasl>=2.0.9nb1
+BUILDLINK_PKGSRCDIR.libnasl?= ../../security/libnasl
+.endif # LIBNASL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}