diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-20 23:22:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-20 23:22:37 +0000 |
commit | 432e160048c6dfd8543d9406f623c7d486c126af (patch) | |
tree | 2b66fc70d9221541cd938c4511cb6e5a591aa6a1 | |
parent | 9e78325de077caa7308a5f8c078f54930297a3bb (diff) | |
download | pkgsrc-432e160048c6dfd8543d9406f623c7d486c126af.tar.gz |
Add BUILDLINK_CPPFLAGS for packages that need to find rpm headers.
-rw-r--r-- | misc/rpm/buildlink2.mk | 4 |
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 |