summaryrefslogtreecommitdiff
path: root/misc/rpm/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rpm/buildlink3.mk')
-rw-r--r--misc/rpm/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/misc/rpm/buildlink3.mk b/misc/rpm/buildlink3.mk
index a23c68991fe..b11690a267a 100644
--- a/misc/rpm/buildlink3.mk
+++ b/misc/rpm/buildlink3.mk
@@ -1,26 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 19:25:01 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-RPM_BUILDLINK3_MK:= ${RPM_BUILDLINK3_MK}+
+BUILDLINK_TREE+= rpm
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= rpm
-.endif
+.if !defined(RPM_BUILDLINK3_MK)
+RPM_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrpm}
-BUILDLINK_PACKAGES+= rpm
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rpm
-
-.if !empty(RPM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rpm+= rpm>=2.5.4nb4
BUILDLINK_ABI_DEPENDS.rpm?= rpm>=2.5.4nb5
BUILDLINK_PKGSRCDIR.rpm?= ../../misc/rpm
BUILDLINK_DEPMETHOD.rpm?= build
BUILDLINK_CPPFLAGS.rpm= -I${BUILDLINK_PREFIX.rpm}/include/rpm
-.endif # RPM_BUILDLINK3_MK
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
+.endif # RPM_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -rpm