summaryrefslogtreecommitdiff
path: root/lang/python22-pth
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-25 17:15:12 +0000
committerjlam <jlam>2004-01-25 17:15:12 +0000
commite2e68becd953cea9856522220fcb8eb98341a8f2 (patch)
tree6e0a81d3968f2dc4f44a966ea22a5ecc69abe0da /lang/python22-pth
parent1eeba45d41249e129bbe1505cd3ffa4d982b38f0 (diff)
downloadpkgsrc-e2e68becd953cea9856522220fcb8eb98341a8f2.tar.gz
* Follow the new buildlink3 standard and append to BUILDLINK_DEPENDS.<pkg>.
* Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of using BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> since we're just dealing with adding directories to the various search paths.
Diffstat (limited to 'lang/python22-pth')
-rw-r--r--lang/python22-pth/buildlink3.mk21
1 files changed, 8 insertions, 13 deletions
diff --git a/lang/python22-pth/buildlink3.mk b/lang/python22-pth/buildlink3.mk
index c6450e5617b..f8a68a2672a 100644
--- a/lang/python22-pth/buildlink3.mk
+++ b/lang/python22-pth/buildlink3.mk
@@ -1,7 +1,6 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/01/25 14:15:33 recht Exp $
-#
+# $NetBSD: buildlink3.mk,v 1.2 2004/01/25 17:15:12 jlam Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON22_PTH_BUILDLINK3_MK:= ${PYTHON22_PTH_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
@@ -10,20 +9,16 @@ BUILDLINK_DEPENDS+= python22-pth
.if !empty(PYTHON22_PTH_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= python22-pth
-BUILDLINK_DEPENDS.python22-pth?= python22-pth>=2.2.3
-BUILDLINK_PKGSRCDIR.python22-pth?= ../../lang/python22-pth
+BUILDLINK_DEPENDS.python22-pth+= python22-pth>=2.2.3
+BUILDLINK_PKGSRCDIR.python22-pth?= ../../lang/python22-pth
.if defined(BUILDLINK_DEPMETHOD.python)
-BUILDLINK_DEPMETHOD.python22pth?= ${BUILDLINK_DEPMETHOD.python}
+BUILDLINK_DEPMETHOD.python22-pth?= ${BUILDLINK_DEPMETHOD.python}
.endif
-BUILDLINK_TRANSFORM+= l:python:python2p2
-
-BUILDLINK_CPPFLAGS.python22pth+= \
- -I${BUILDLINK_PREFIX.python22pth}/include/python2p2
-BUILDLINK_LDFLAGS.python22pth+= \
- -L${BUILDLINK_PREFIX.python22pth}/lib/python2p2/config \
- -Wl,-R${BUILDLINK_PREFIX.python22pth}/lib/python2p2/config
+BUILDLINK_INCDIRS.python22-pth+= include/python2p2
+BUILDLINK_LIBDIRS.python22-pth+= lib/python2p2/config
+BUILDLINK_TRANSFORM+= l:python:python2p2
.endif # PYTHON22_PTH_BUILDLINK3_MK