summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/pnet/Makefile4
-rw-r--r--lang/pnet/buildlink2.mk75
-rw-r--r--lang/pnet/buildlink3.mk22
-rw-r--r--lang/pnetC/Makefile6
-rw-r--r--lang/pnetC/buildlink2.mk26
-rw-r--r--lang/pnetC/buildlink3.mk24
-rw-r--r--lang/pnetlib/Makefile6
-rw-r--r--lang/pnetlib/Makefile.common6
-rw-r--r--lang/pnetlib/buildlink2.mk135
-rw-r--r--lang/pnetlib/buildlink3.mk25
10 files changed, 82 insertions, 247 deletions
diff --git a/lang/pnet/Makefile b/lang/pnet/Makefile
index 85043b1adfc..4611066b4a2 100644
--- a/lang/pnet/Makefile
+++ b/lang/pnet/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= pnet-0.6.2
@@ -17,7 +17,7 @@ CONFLICTS= mono-[0-9]*
USE_GNU_TOOLS+= make
USE_MAKEINFO= yes
GNU_CONFIGURE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
INFO_FILES= pnettools.info
diff --git a/lang/pnet/buildlink2.mk b/lang/pnet/buildlink2.mk
deleted file mode 100644
index 6837315700b..00000000000
--- a/lang/pnet/buildlink2.mk
+++ /dev/null
@@ -1,75 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/12 17:13:32 xtraeme Exp $
-#
-# This Makefile fragment is included by packages that use pnet.
-#
-# This file was created automatically using createbuildlink 2.9.
-#
-
-.if !defined(PNET_BUILDLINK2_MK)
-PNET_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pnet
-BUILDLINK_DEPENDS.pnet?= pnet>=0.6.2
-BUILDLINK_PKGSRCDIR.pnet?= ../../lang/pnet
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pnet=pnet
-BUILDLINK_PREFIX.pnet_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pnet+= include/pnet/ffi.h
-BUILDLINK_FILES.pnet+= include/pnet/ffi_mips.h
-BUILDLINK_FILES.pnet+= include/pnet/fficonfig.h
-BUILDLINK_FILES.pnet+= include/pnet/gc.h
-BUILDLINK_FILES.pnet+= include/pnet/gc_local_alloc.h
-BUILDLINK_FILES.pnet+= include/pnet/gc_typed.h
-BUILDLINK_FILES.pnet+= include/pnet/il_align.h
-BUILDLINK_FILES.pnet+= include/pnet/il_bignum.h
-BUILDLINK_FILES.pnet+= include/pnet/il_coder.h
-BUILDLINK_FILES.pnet+= include/pnet/il_config.h
-BUILDLINK_FILES.pnet+= include/pnet/il_console.h
-BUILDLINK_FILES.pnet+= include/pnet/il_crypt.h
-BUILDLINK_FILES.pnet+= include/pnet/il_debug.h
-BUILDLINK_FILES.pnet+= include/pnet/il_decimal.h
-BUILDLINK_FILES.pnet+= include/pnet/il_dumpasm.h
-BUILDLINK_FILES.pnet+= include/pnet/il_engine.h
-BUILDLINK_FILES.pnet+= include/pnet/il_errno.h
-BUILDLINK_FILES.pnet+= include/pnet/il_gc.h
-BUILDLINK_FILES.pnet+= include/pnet/il_image.h
-BUILDLINK_FILES.pnet+= include/pnet/il_jopcodes.h
-BUILDLINK_FILES.pnet+= include/pnet/il_linker.h
-BUILDLINK_FILES.pnet+= include/pnet/il_meta.h
-BUILDLINK_FILES.pnet+= include/pnet/il_opcodes.h
-BUILDLINK_FILES.pnet+= include/pnet/il_profile.h
-BUILDLINK_FILES.pnet+= include/pnet/il_program.h
-BUILDLINK_FILES.pnet+= include/pnet/il_regex.h
-BUILDLINK_FILES.pnet+= include/pnet/il_serial.h
-BUILDLINK_FILES.pnet+= include/pnet/il_serialize.h
-BUILDLINK_FILES.pnet+= include/pnet/il_sysio.h
-BUILDLINK_FILES.pnet+= include/pnet/il_system.h
-BUILDLINK_FILES.pnet+= include/pnet/il_thread.h
-BUILDLINK_FILES.pnet+= include/pnet/il_types.h
-BUILDLINK_FILES.pnet+= include/pnet/il_utils.h
-BUILDLINK_FILES.pnet+= include/pnet/il_values.h
-BUILDLINK_FILES.pnet+= include/pnet/il_writer.h
-BUILDLINK_FILES.pnet+= include/pnet/il_xml.h
-BUILDLINK_FILES.pnet+= include/pnet/leak_detector.h
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-b
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-bf
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-c-s
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-cs
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-csharp
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-java
-BUILDLINK_FILES.pnet+= lib/cscc/plugins/cscc-vb
-BUILDLINK_FILES.pnet+= lib/libILAsm.*
-BUILDLINK_FILES.pnet+= lib/libILCodeGen.*
-BUILDLINK_FILES.pnet+= lib/libILDumpAsm.*
-BUILDLINK_FILES.pnet+= lib/libILEngine.*
-BUILDLINK_FILES.pnet+= lib/libILImage.*
-BUILDLINK_FILES.pnet+= lib/libILLink.*
-BUILDLINK_FILES.pnet+= lib/libILSupport.*
-BUILDLINK_FILES.pnet+= lib/pnet/libffi.*
-BUILDLINK_FILES.pnet+= lib/pnet/libgc.*
-
-BUILDLINK_TARGETS+= pnet-buildlink
-
-pnet-buildlink: _BUILDLINK_USE
-
-.endif # PNET_BUILDLINK2_MK
diff --git a/lang/pnet/buildlink3.mk b/lang/pnet/buildlink3.mk
new file mode 100644
index 00000000000..39e8d5bc5ec
--- /dev/null
+++ b/lang/pnet/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/27 07:37:04 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use pnet.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PNET_BUILDLINK3_MK:= ${PNET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pnet
+.endif
+
+.if !empty(PNET_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= pnet
+BUILDLINK_DEPENDS.pnet+= pnet>=0.6.2
+BUILDLINK_PKGSRCDIR.pnet?= ../../lang/pnet
+
+.endif # PNET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
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/+$//}
diff --git a/lang/pnetlib/Makefile b/lang/pnetlib/Makefile
index 008f57f4052..c0f55d7cf7b 100644
--- a/lang/pnetlib/Makefile
+++ b/lang/pnetlib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/12 17:15:26 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/27 07:37:04 xtraeme Exp $
#
-.include "${.CURDIR}/Makefile.common"
+.include "Makefile.common"
USE_X11= yes
@@ -12,5 +12,5 @@ PLIST_SUBST+= WITH_X11=
CONFLICTS= pnetlib-nox11-[0-9]*
-.include "../../fonts/Xft2/buildlink2.mk"
+.include "../../fonts/Xft2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/pnetlib/Makefile.common b/lang/pnetlib/Makefile.common
index 4971cfdd45d..9b5dea1edb7 100644
--- a/lang/pnetlib/Makefile.common
+++ b/lang/pnetlib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/01/24 13:51:15 grant Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/02/27 07:37:04 xtraeme Exp $
#
DISTNAME= pnetlib-0.6.2
@@ -11,7 +11,7 @@ COMMENT= DotGNU Portable .NET C SHARP class libraries
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
DESCR_SRC= ${.CURDIR}/../pnetlib/DESCR
DISTINFO_FILE= ${.CURDIR}/../pnetlib/distinfo
@@ -26,4 +26,4 @@ PLIST_SUBST+= LIBXSHARP="@comment "
PLIST_SUBST+= LIBXSHARP=
.endif
-.include "../../lang/pnet/buildlink2.mk"
+.include "../../lang/pnet/buildlink3.mk"
diff --git a/lang/pnetlib/buildlink2.mk b/lang/pnetlib/buildlink2.mk
deleted file mode 100644
index 5eed52318d7..00000000000
--- a/lang/pnetlib/buildlink2.mk
+++ /dev/null
@@ -1,135 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/12 17:15:29 xtraeme Exp $
-#
-# This Makefile fragment is included by packages that use pnetlib.
-#
-# This file was created automatically using createbuildlink 2.9.
-#
-
-.if !defined(PNETLIB_BUILDLINK2_MK)
-PNETLIB_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pnetlib
-BUILDLINK_DEPENDS.pnetlib?= pnetlib>=0.6.2
-BUILDLINK_PKGSRCDIR.pnetlib?= ../../lang/pnetlib
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pnetlib=pnetlib
-BUILDLINK_PREFIX.pnetlib_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/0.5.1.0/ICSharpCode.SharpZipLib.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/Accessibility.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/DotGNU.Images.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/DotGNU.SSL.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/DotGNU.Terminal.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.CJK.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.MidEast.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.Other.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.Rare.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.West.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/I18N.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ISymWrapper.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/OpenSystem.C.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Configuration.Install.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Design.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Drawing.Postscript.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Drawing.Win32.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Drawing.Xsharp.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Drawing.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.EnterpriseServices.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Net.IrDA.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Windows.Forms.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.Xml.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/System.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/Xsharp.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/I18N.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.Configuration.Install.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.Drawing.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.Net.IrDA.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.Windows.Forms.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.Xml.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/System.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/Xsharp.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ca/mscorlib.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/cstest.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/csunit.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/I18N.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.Configuration.Install.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.Drawing.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.Net.IrDA.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.Windows.Forms.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.Xml.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/System.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/Xsharp.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/de/mscorlib.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/ilinstall.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/1.2.3400.0/mscorlib.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/Microsoft.JScript.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/Microsoft.VisualBasic.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/Microsoft.VisualC.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/Microsoft.Vsa.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/ca/Microsoft.VisualBasic.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/cscompmgd.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/de/Microsoft.VisualBasic.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/8.0.1000.0/jsrun.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Accessibility.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/DotGNU.Images.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/DotGNU.SSL.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/DotGNU.Terminal.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.CJK.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.MidEast.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.Other.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.Rare.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.West.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/I18N.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ICSharpCode.SharpZipLib.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ISymWrapper.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Microsoft.JScript.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Microsoft.VisualBasic.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Microsoft.VisualC.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Microsoft.Vsa.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/OpenSystem.C.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Configuration.Install.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Design.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Drawing.Postscript.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Drawing.Win32.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Drawing.Xsharp.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Drawing.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.EnterpriseServices.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Net.IrDA.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Windows.Forms.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.Xml.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/System.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/Xsharp.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/I18N.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/Microsoft.VisualBasic.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.Configuration.Install.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.Drawing.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.Net.IrDA.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.Windows.Forms.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.Xml.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/System.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/Xsharp.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ca/mscorlib.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/cscompmgd.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/cstest.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/csunit.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/I18N.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/Microsoft.VisualBasic.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.Configuration.Install.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.Drawing.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.Net.IrDA.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.Windows.Forms.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.Xml.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/System.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/Xsharp.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/de/mscorlib.resources.dll
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/ilinstall.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/jsrun.exe
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/libXsharpSupport.*
-BUILDLINK_FILES.pnetlib+= lib/cscc/lib/mscorlib.dll
-
-.include "../../lang/pnet/buildlink2.mk"
-
-BUILDLINK_TARGETS+= pnetlib-buildlink
-
-pnetlib-buildlink: _BUILDLINK_USE
-
-.endif # PNETLIB_BUILDLINK2_MK
diff --git a/lang/pnetlib/buildlink3.mk b/lang/pnetlib/buildlink3.mk
new file mode 100644
index 00000000000..5e5ffc0b607
--- /dev/null
+++ b/lang/pnetlib/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/27 07:37:04 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use pnetlib.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PNETLIB_BUILDLINK3_MK:= ${PNETLIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pnetlib
+.endif
+
+.if !empty(PNETLIB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= pnetlib
+BUILDLINK_DEPENDS.pnetlib+= pnetlib>=0.6.2
+BUILDLINK_PKGSRCDIR.pnetlib?= ../../lang/pnetlib
+
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../lang/pnet/buildlink3.mk"
+
+.endif # PNETLIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}