diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-23 09:22:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-23 09:22:14 +0000 |
commit | ee12419f1f0034764c3a9c77b2a694a79bb13b1d (patch) | |
tree | 931b1bbba19461014b5f12fa56e7872953ab2b11 /x11/controlcenter | |
parent | cb9c0e24648bedb953d7aadb1167b9a9df89f238 (diff) | |
download | pkgsrc-ee12419f1f0034764c3a9c77b2a694a79bb13b1d.tar.gz |
Instead of using BUILDLINK_TRANSFORM.<pkg> to change the location of
headers in ${BUILDLINK_DIR}, simply create BUILDLINK_CPPFLAGS.<pkg>
variables whose values are appended to CPPFLAGS, which are automatically
passed to the configure and build processes.
BUILDLINK_TRANSFORM.<pkg> has little use in buildlink2 since packages are
now told that the software may be found where it really is installed, not
in ${BUILDLINK_DIR} as was the case with buildlink1. Eventually, these
variables will be declared unsupported by buildlink2.
Diffstat (limited to 'x11/controlcenter')
-rw-r--r-- | x11/controlcenter/buildlink2.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/controlcenter/buildlink2.mk b/x11/controlcenter/buildlink2.mk index 9a65792b471..a4ccdd53630 100644 --- a/x11/controlcenter/buildlink2.mk +++ b/x11/controlcenter/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.3 2002/09/11 12:16:23 wiz Exp $ +# $NetBSD: buildlink2.mk,v 1.4 2002/09/23 09:22:15 jlam Exp $ .if !defined(CONTROLCENTER_BUILDLINK2_MK) CONTROLCENTER_BUILDLINK2_MK= # defined @@ -13,8 +13,9 @@ BUILDLINK_PREFIX.controlcenter_DEFAULTS= ${X11PREFIX} BUILDLINK_FILES.controlcenter= include/libcapplet1/* BUILDLINK_FILES.controlcenter+= lib/libcapplet.* -BUILDLINK_TRANSFORM.controlcenter= \ - -e "s|/include/libcapplet1/|/include/|g" +BUILDLINK_CPPFLAGS.controlcenter= \ + -I${BUILDLINK_PREFIX.controlcenter}/include/libcapplet1 +CPPFLAGS+= ${BUILDLINK_CPPFLAGS.controlcenter} .include "../../graphics/gdk-pixbuf/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" |