summaryrefslogtreecommitdiff
path: root/misc/rpm/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz>2004-04-25 11:47:08 +0000
committerwiz <wiz>2004-04-25 11:47:08 +0000
commit29cceac70d1c99b655eaff74cde3250698338bf0 (patch)
tree923d8c8325af6e00f345e90269145f56f22b8618 /misc/rpm/buildlink3.mk
parent31a6b201f500486d4eb715a4038ab2b66b17822b (diff)
downloadpkgsrc-29cceac70d1c99b655eaff74cde3250698338bf0.tar.gz
Add.
Diffstat (limited to 'misc/rpm/buildlink3.mk')
-rw-r--r--misc/rpm/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/rpm/buildlink3.mk b/misc/rpm/buildlink3.mk
new file mode 100644
index 00000000000..8480c39540c
--- /dev/null
+++ b/misc/rpm/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 11:47:08 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RPM_BUILDLINK3_MK:= ${RPM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= rpm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrpm}
+BUILDLINK_PACKAGES+= rpm
+
+.if !empty(RPM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.rpm+= rpm>=2.5.4nb1
+BUILDLINK_PKGSRCDIR.rpm?= ../../misc/rpm
+.endif # RPM_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}