summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-20 23:22:37 +0000
committerjlam <jlam>2002-10-20 23:22:37 +0000
commit69c339fab8b3e389ed333695b132d549aaa51579 (patch)
tree2b66fc70d9221541cd938c4511cb6e5a591aa6a1 /misc/rpm
parent6beed310a5818dcace09132791d08b8ed3e0c852 (diff)
downloadpkgsrc-69c339fab8b3e389ed333695b132d549aaa51579.tar.gz
Add BUILDLINK_CPPFLAGS for packages that need to find rpm headers.
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/buildlink2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/rpm/buildlink2.mk b/misc/rpm/buildlink2.mk
index 4bf6cf66d3c..ad586d5a4d8 100644
--- a/misc/rpm/buildlink2.mk
+++ b/misc/rpm/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:29 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/10/20 23:22:37 jlam Exp $
.if !defined(RPM_BUILDLINK2_MK)
RPM_BUILDLINK2_MK= # defined
@@ -15,6 +15,8 @@ BUILDLINK_PREFIX.rpm_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.rpm= include/rpm/*
BUILDLINK_FILES.rpm+= lib/librpm.a
+BUILDLINK_CPPFLAGS.rpm= -I${BUILDLINK_PREFIX.rpm}/include/rpm
+
.include "../../devel/gettext-lib/buildlink2.mk"
BUILDLINK_TARGETS+= rpm-buildlink