From 1e5760b3379f0b3a2219f6ede770d9c1562e52a3 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 23 Sep 2002 09:22:14 +0000 Subject: Instead of using BUILDLINK_TRANSFORM. to change the location of headers in ${BUILDLINK_DIR}, simply create BUILDLINK_CPPFLAGS. variables whose values are appended to CPPFLAGS, which are automatically passed to the configure and build processes. BUILDLINK_TRANSFORM. 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. --- chat/libyahoo/buildlink2.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chat') 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 -- cgit v1.2.3