summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz>2004-04-25 11:49:40 +0000
committerwiz <wiz>2004-04-25 11:49:40 +0000
commit36006ef7e0287a259012d1d16bc5a48a7d757833 (patch)
tree54b1707787c2338fb2f8de4b0ca3492a794ab2dc /misc
parent62c91bfa31178e9e62ce46805f75096d7dbb1576 (diff)
downloadpkgsrc-36006ef7e0287a259012d1d16bc5a48a7d757833.tar.gz
Set CPPFLAGs like in bl2.
Diffstat (limited to 'misc')
-rw-r--r--misc/rpm/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/rpm/buildlink3.mk b/misc/rpm/buildlink3.mk
index 8480c39540c..2910b09a7c8 100644
--- a/misc/rpm/buildlink3.mk
+++ b/misc/rpm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 11:47:08 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/04/25 11:49:40 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RPM_BUILDLINK3_MK:= ${RPM_BUILDLINK3_MK}+
@@ -13,6 +13,8 @@ BUILDLINK_PACKAGES+= rpm
.if !empty(RPM_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.rpm+= rpm>=2.5.4nb1
BUILDLINK_PKGSRCDIR.rpm?= ../../misc/rpm
+
+BUILDLINK_CPPFLAGS.rpm= -I${BUILDLINK_PREFIX.rpm}/include/rpm
.endif # RPM_BUILDLINK3_MK
.include "../../devel/gettext-lib/buildlink3.mk"