summaryrefslogtreecommitdiff
path: root/chat/libyahoo
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-23 09:22:14 +0000
committerjlam <jlam>2002-09-23 09:22:14 +0000
commit1e5760b3379f0b3a2219f6ede770d9c1562e52a3 (patch)
tree931b1bbba19461014b5f12fa56e7872953ab2b11 /chat/libyahoo
parent7822bfea2215b3983798ff9f2e7d6b215a05b3e3 (diff)
downloadpkgsrc-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 'chat/libyahoo')
-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