summaryrefslogtreecommitdiff
path: root/x11/kdelibs2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-19 17:48:08 +0000
committerjlam <jlam@pkgsrc.org>2001-11-19 17:48:08 +0000
commited4a811bd91d39a0218c40032b6e651b5aa7150f (patch)
tree55effa9c2885fbb5f428662cfc639cb20583f069 /x11/kdelibs2
parentc0465ef8a667a07b6e928e59b3ab3c80d2e894c8 (diff)
downloadpkgsrc-ed4a811bd91d39a0218c40032b6e651b5aa7150f.tar.gz
Fix build problems with packages that use artsc-config. The -I option was
being improperly translated by buildlink. This should fix pkg/14306 by Kent Polk <kpolk@darwin.sfbr.org>.
Diffstat (limited to 'x11/kdelibs2')
-rw-r--r--x11/kdelibs2/buildlink.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/kdelibs2/buildlink.mk b/x11/kdelibs2/buildlink.mk
index 89c35735fb2..ddfac7a31b9 100644
--- a/x11/kdelibs2/buildlink.mk
+++ b/x11/kdelibs2/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.14 2001/11/16 02:03:27 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.15 2001/11/19 17:48:08 jlam Exp $
#
# This Makefile fragment is included by packages that use kdelibs2.
#
@@ -27,6 +27,11 @@ BUILDLINK_PREFIX.kdelibs2_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.kdelibs2!= ${GREP} "^\(include\|lib\)" ${.CURDIR}/../../x11/kdelibs2/PLIST
BUILDLINK_FILES.kdelibs2+= bin/dcopserver
+REPLACE_BUILDLINK_SED+= \
+ -e "s|-I${BUILDLINK_DIR}/\(include/artsc\)|-I${BUILDLINK_PREFIX.kdelibs2}/\1|g"
+BUILDLINK_CONFIG_WRAPPER_SED+= \
+ -e "s|-I${BUILDLINK_PREFIX.kdelibs2}/\(include/artsc\)|-I${BUILDLINK_DIR}/\1|g"
+
BUILDLINK_KDEDIR= ${BUILDLINK_DIR}
KDEDIR= ${BUILDLINK_PREFIX.kdelibs2}