summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-23 09:22:14 +0000
committerjlam <jlam@pkgsrc.org>2002-09-23 09:22:14 +0000
commitee12419f1f0034764c3a9c77b2a694a79bb13b1d (patch)
tree931b1bbba19461014b5f12fa56e7872953ab2b11 /chat
parentcb9c0e24648bedb953d7aadb1167b9a9df89f238 (diff)
downloadpkgsrc-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 'chat')
-rw-r--r--chat/libyahoo/buildlink2.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/chat/libyahoo/buildlink2.mk b/chat/libyahoo/buildlink2.mk
index d6039f99a2e..82089fcfb1d 100644
--- a/chat/libyahoo/buildlink2.mk
+++ b/chat/libyahoo/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.4 2002/09/21 06:58:41 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.5 2002/09/23 09:22:14 jlam Exp $
.if !defined(LIBYAHOO_BUILDLINK2_MK)
LIBYAHOO_BUILDLINK2_MK= # defined
@@ -12,7 +12,8 @@ BUILDLINK_PREFIX.libyahoo_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.libyahoo= include/libyahoo/*.h
BUILDLINK_FILES.libyahoo+= lib/libyahoo.*
-BUILDLINK_TRANSFORM.libyahoo= -e "s|include/libyahoo/|include/|g"
+BUILDLINK_CPPFLAGS.libyahoo= -I${BUILDLINK_PREFIX.libyahoo}/include/libyahoo
+CPPFLAGS+= ${BUILDLINK_CPPFLAGS.libyahoo}
BUILDLINK_TARGETS+= libyahoo-buildlink