summaryrefslogtreecommitdiff
path: root/net/ORBit
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-23 09:22:14 +0000
committerjlam <jlam>2002-09-23 09:22:14 +0000
commit72f98d57f6eadbdb15cd446941fd9792ae8e6d2d (patch)
tree931b1bbba19461014b5f12fa56e7872953ab2b11 /net/ORBit
parente69e7d21e7775b07eed6b6f2d800e9230f9159a9 (diff)
downloadpkgsrc-72f98d57f6eadbdb15cd446941fd9792ae8e6d2d.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 'net/ORBit')
-rw-r--r--net/ORBit/buildlink2.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ORBit/buildlink2.mk b/net/ORBit/buildlink2.mk
index 66c21133be4..925ec2eaa15 100644
--- a/net/ORBit/buildlink2.mk
+++ b/net/ORBit/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/09/11 10:16:10 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/09/23 09:22:15 jlam Exp $
.if !defined(ORBIT_BUILDLINK2_MK)
ORBIT_BUILDLINK2_MK= # defined
@@ -23,8 +23,7 @@ BUILDLINK_FILES.ORBit+= lib/libORBitutil.*
BUILDLINK_FILES.ORBit+= lib/libname-server.*
BUILDLINK_FILES.ORBit+= lib/liborbit-c-backend.*
-# The ORBit headers should be found at the same location as for libxml.
-#BUILDLINK_TRANSFORM.ORBit= -e "s|/include/orbit-1.0/|/include/|g"
+BUILDLINK_CPPFLAGS.ORBit= -I${BUILDLINK_PREFIX.ORBit}/include/orbit-1.0
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"