summaryrefslogtreecommitdiff
path: root/sysutils/pciutils
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-04-26 10:21:26 +0000
committercube <cube@pkgsrc.org>2004-04-26 10:21:26 +0000
commit90437aed7760cc54de16593d2670adca8004424a (patch)
tree2321f3e33ac32ca33075502cae3da5d016b5c004 /sysutils/pciutils
parentac68b303fad53b9f8bb2353d6a70b223e17cfc73 (diff)
downloadpkgsrc-90437aed7760cc54de16593d2670adca8004424a.tar.gz
bl3ify, and remove now unused bl2 file.
Diffstat (limited to 'sysutils/pciutils')
-rw-r--r--sysutils/pciutils/buildlink2.mk19
-rw-r--r--sysutils/pciutils/buildlink3.mk19
2 files changed, 19 insertions, 19 deletions
diff --git a/sysutils/pciutils/buildlink2.mk b/sysutils/pciutils/buildlink2.mk
deleted file mode 100644
index 4a74169b3c5..00000000000
--- a/sysutils/pciutils/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2003/04/06 12:44:22 hubertf Exp $
-
-.if !defined(PCIUTILS_BUILDLINK2_MK)
-PCIUTILS_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pciutils
-BUILDLINK_DEPENDS.pciutils?= pciutils>=2.1.11
-BUILDLINK_PKGSRCDIR.pciutils?= ../../sysutils/pciutils
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pciutils=pciutils
-BUILDLINK_PREFIX.pciutils_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pciutils= include/pciutils/*
-BUILDLINK_FILES.pciutils+= lib/libpciutils.a
-
-BUILDLINK_TARGETS+= pciutils-buildlink
-
-pciutils-buildlink: _BUILDLINK_USE
-
-.endif # PCIUTILS_BUILDLINK2_MK
diff --git a/sysutils/pciutils/buildlink3.mk b/sysutils/pciutils/buildlink3.mk
new file mode 100644
index 00000000000..fc0ac4a54af
--- /dev/null
+++ b/sysutils/pciutils/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/26 10:21:26 cube Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PCIUTILS_BUILDLINK3_MK:= ${PCIUTILS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pciutils
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npciutils}
+BUILDLINK_PACKAGES+= pciutils
+
+.if !empty(PCIUTILS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pciutils+= pciutils>=2.1.11
+BUILDLINK_PKGSRCDIR.pciutils?= ../../sysutils/pciutils
+BUILDLINK_DEPMETHOD.pciutils?= build
+.endif # PCIUTILS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}