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 /graphics | |
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 'graphics')
-rw-r--r-- | graphics/gdk-pixbuf/buildlink2.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/gdk-pixbuf/buildlink2.mk b/graphics/gdk-pixbuf/buildlink2.mk index 6d69dffe476..4884805e3eb 100644 --- a/graphics/gdk-pixbuf/buildlink2.mk +++ b/graphics/gdk-pixbuf/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.3 2002/09/11 10:15:33 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.4 2002/09/23 09:22:15 jlam Exp $ .if !defined(GDK_PIXBUF_BUILDLINK2_MK) GDK_PIXBUF_BUILDLINK2_MK= # defined @@ -28,7 +28,9 @@ BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf.* BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf_xlib.* # The gdk-pixbuf headers should be found at the usual location. -BUILDLINK_TRANSFORM.gdk-pixbuf= -e "s|/include/gdk-pixbuf-1.0/|/include/|g" +BUILDLINK_CPPFLAGS.gdk-pixbuf= \ + -I${BUILDLINK_PREFIX.gdk-pixbuf}/include/gdk-pixbuf-1.0 +CPPFLAGS+= ${BUILDLINK_CPPFLAGS.gdk-pixbuf} .include "../../graphics/jpeg/buildlink2.mk" .include "../../graphics/png/buildlink2.mk" |