summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-04-25 11:47:08 +0000
committerwiz <wiz@pkgsrc.org>2004-04-25 11:47:08 +0000
commita3a59bd8b98f4d60a1bd5953e9c32888efe56520 (patch)
tree923d8c8325af6e00f345e90269145f56f22b8618 /misc/rpm
parent4e282b0529b43e49d8bf05488ea6cddcea47f2aa (diff)
downloadpkgsrc-a3a59bd8b98f4d60a1bd5953e9c32888efe56520.tar.gz
Add.
Diffstat (limited to 'misc/rpm')
-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/+$//}