summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-05-14 09:04:41 +0000
committertron <tron@pkgsrc.org>2002-05-14 09:04:41 +0000
commit0d3103b5e8ff9e483b44004e8e24bb379068551c (patch)
tree5026ee81f7c255db19a28ea07ee02105b9986b9d /graphics/gdk-pixbuf
parenta0480c3ad460eefe351f4cfb44a854bd93044c47 (diff)
downloadpkgsrc-0d3103b5e8ff9e483b44004e8e24bb379068551c.tar.gz
Make sure that include files appear under well known locations in the
buildlink directory. This fixes build problems in e.g. the "gnome-games" package.
Diffstat (limited to 'graphics/gdk-pixbuf')
-rw-r--r--graphics/gdk-pixbuf/buildlink.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/gdk-pixbuf/buildlink.mk b/graphics/gdk-pixbuf/buildlink.mk
index 133025693f6..7a35a935415 100644
--- a/graphics/gdk-pixbuf/buildlink.mk
+++ b/graphics/gdk-pixbuf/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.13 2002/05/11 11:56:58 rh Exp $
+# $NetBSD: buildlink.mk,v 1.14 2002/05/14 09:04:41 tron Exp $
#
# This Makefile fragment is included by packages that use gdk-pixbuf.
#
@@ -44,6 +44,11 @@ BUILDLINK_FILES.gdk-pixbuf+= lib/gdk_pixbuf_xlibConf.sh
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_CONFIG_WRAPPER_SED+= \
+ -e "s|-I${BUILDLINK_PREFIX.gdk-pixbuf}/include/gdk-pixbuf-1.0 |-I${BUILDLINK_DIR}/include/gdk-pixbuf-1.0 -I${BUILDLINK_DIR}/include/|g"
+
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/tiff/buildlink.mk"