summaryrefslogtreecommitdiff
path: root/lang/pnetC
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-27 07:37:04 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-27 07:37:04 +0000
commit54425e7746c57383d785a2cf9e5cbea4121e9cb8 (patch)
tree7d0f3fdb9d7b7ad791277f73def4d82ff0c619c3 /lang/pnetC
parent4fcca83df4032594bd5bcb0001d5f6f24ee3a72c (diff)
downloadpkgsrc-54425e7746c57383d785a2cf9e5cbea4121e9cb8.tar.gz
bl3ify
Diffstat (limited to 'lang/pnetC')
-rw-r--r--lang/pnetC/Makefile6
-rw-r--r--lang/pnetC/buildlink2.mk26
-rw-r--r--lang/pnetC/buildlink3.mk24
3 files changed, 27 insertions, 29 deletions
diff --git a/lang/pnetC/Makefile b/lang/pnetC/Makefile
index d99d302c95e..a5f6ebe0279 100644
--- a/lang/pnetC/Makefile
+++ b/lang/pnetC/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/01/24 13:51:15 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/02/27 07:37:04 xtraeme Exp $
#
DISTNAME= pnetC-0.6.0
@@ -11,7 +11,7 @@ COMMENT= C language binding for DotGNU Portable .NET
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
-.include "../../lang/pnet/buildlink2.mk"
+.include "../../lang/pnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/pnetC/buildlink2.mk b/lang/pnetC/buildlink2.mk
deleted file mode 100644
index 441e4fb3a1c..00000000000
--- a/lang/pnetC/buildlink2.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/02/26 23:14:02 minskim Exp $
-#
-# This Makefile fragment is included by packages that use pnetC.
-#
-# This file was created automatically using createbuildlink 2.9.
-#
-
-.if !defined(PNETC_BUILDLINK2_MK)
-PNETC_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pnetC
-BUILDLINK_DEPENDS.pnetC?= pnetC>=0.6.0
-BUILDLINK_PKGSRCDIR.pnetC?= ../../lang/pnetC
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pnetC=pnetC
-BUILDLINK_PREFIX.pnetC_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pnetC+= lib/cscc/lib/libc64.dll
-BUILDLINK_FILES.pnetC+= lib/cscc/lib/libm64.dll
-
-.include "../../lang/pnet/buildlink2.mk"
-
-BUILDLINK_TARGETS+= pnetC-buildlink
-
-pnetC-buildlink: _BUILDLINK_USE
-
-.endif # PNETC_BUILDLINK2_MK
diff --git a/lang/pnetC/buildlink3.mk b/lang/pnetC/buildlink3.mk
new file mode 100644
index 00000000000..3d90817fd2c
--- /dev/null
+++ b/lang/pnetC/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/27 07:37:04 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use pnetC.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PNETC_BUILDLINK3_MK:= ${PNETC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pnetC
+.endif
+
+.if !empty(PNETC_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= pnetC
+BUILDLINK_DEPENDS.pnetC+= pnetC>=0.6.0
+BUILDLINK_PKGSRCDIR.pnetC?= ../../lang/pnetC
+
+.include "../../lang/pnet/buildlink3.mk"
+
+.endif # PNETC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}