diff options
author | jlam <jlam> | 2002-09-23 09:22:14 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-23 09:22:14 +0000 |
commit | 1e5760b3379f0b3a2219f6ede770d9c1562e52a3 (patch) | |
tree | 931b1bbba19461014b5f12fa56e7872953ab2b11 /graphics | |
parent | 7822bfea2215b3983798ff9f2e7d6b215a05b3e3 (diff) | |
download | pkgsrc-1e5760b3379f0b3a2219f6ede770d9c1562e52a3.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" |