summaryrefslogtreecommitdiff
path: root/net/ORBit
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 /net/ORBit
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 '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"