summaryrefslogtreecommitdiff
path: root/lang/python15
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-09 23:46:14 +0000
committerjlam <jlam>2002-10-09 23:46:14 +0000
commitca14a4ad16dd0a781df4b7ed799b791c100ee488 (patch)
tree2924adff8f1ebee85fad8db83de245c2670c33a9 /lang/python15
parent5f9f8cba79f4c57d9284e3681d4e9dead0ff10d3 (diff)
downloadpkgsrc-ca14a4ad16dd0a781df4b7ed799b791c100ee488.tar.gz
Use BUILDLINK_PLIST_CMD instead of grepping the PLIST, which for some of
these python packages is empty.
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/buildlink2.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/python15/buildlink2.mk b/lang/python15/buildlink2.mk
index a26994471cc..0c3df0f0469 100644
--- a/lang/python15/buildlink2.mk
+++ b/lang/python15/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/10/09 11:40:40 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/09 23:46:14 jlam Exp $
.if !defined(PYTHON15_BUILDLINK2_MK)
PYTHON15_BUILDLINK2_MK= # defined
@@ -6,6 +6,7 @@ PYTHON15_BUILDLINK2_MK= # defined
.include "../../mk/bsd.prefs.mk"
BUILDLINK_PACKAGES+= python15
+BUILDLINK_PKGBASE.python15?= python15
BUILDLINK_DEPENDS.python15?= python15>=1.5
BUILDLINK_PKGSRCDIR.python15?= ../../lang/python15
@@ -15,9 +16,10 @@ BUILDLINK_DEPMETHOD.python15?= ${BUILDLINK_DEPMETHOD.python}
EVAL_PREFIX+= BUILDLINK_PREFIX.python15=python15
BUILDLINK_PREFIX.python15_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.python15!= \
- ${GREP} "^include/" ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python15}/PLIST
-BUILDLINK_FILES.python15+= lib/python1.5/config/libpython1.5.*
+_PY15_BLNK_FILES= \
+ ${BUILDLINK_PLIST_CMD.python15} | \
+ ${GREP} '^\(include\|lib.*/lib[^/]*$$\)'
+BUILDLINK_FILES.python15= `${_PY15_BLNK_FILES}`
BUILDLINK_TRANSFORM+= l:python:python1.5
BUILDLINK_CPPFLAGS.python15+= \