summaryrefslogtreecommitdiff
path: root/lang/python21-pth
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-09 23:46:14 +0000
committerjlam <jlam@pkgsrc.org>2002-10-09 23:46:14 +0000
commitf2eb380771e129139d768be1c9d48f165b77a545 (patch)
tree2924adff8f1ebee85fad8db83de245c2670c33a9 /lang/python21-pth
parentb7cce96b95636061feec80cf2eb9e9504ad26beb (diff)
downloadpkgsrc-f2eb380771e129139d768be1c9d48f165b77a545.tar.gz
Use BUILDLINK_PLIST_CMD instead of grepping the PLIST, which for some of
these python packages is empty.
Diffstat (limited to 'lang/python21-pth')
-rw-r--r--lang/python21-pth/buildlink2.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/python21-pth/buildlink2.mk b/lang/python21-pth/buildlink2.mk
index 920fbc361fe..a9684d3b246 100644
--- a/lang/python21-pth/buildlink2.mk
+++ b/lang/python21-pth/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/10/09 11:40:41 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/09 23:46:15 jlam Exp $
.if !defined(PYTHON21_BUILDLINK2_MK)
PYTHON21_BUILDLINK2_MK= # defined
@@ -6,6 +6,7 @@ PYTHON21_BUILDLINK2_MK= # defined
.include "../../mk/bsd.prefs.mk"
BUILDLINK_PACKAGES+= python21-pth
+BUILDLINK_PKGBASE.python21-pth?= python21-pth
BUILDLINK_DEPENDS.python21-pth?= python21-pth>=2.1
BUILDLINK_PKGSRCDIR.python21-pth?= ../../lang/python21-pth
@@ -15,9 +16,10 @@ BUILDLINK_DEPMETHOD.python21-pth?= ${BUILDLINK_DEPMETHOD.python}
EVAL_PREFIX+= BUILDLINK_PREFIX.python21-pth=python21-pth
BUILDLINK_PREFIX.python21-pth_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.python21-pth!= \
- ${GREP} "^include/" ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python21-pth}/PLIST
-BUILDLINK_FILES.python21-pth+= lib/python2p1/config/libpython2p1.*
+_PY21_PTH_BLNK_FILES= \
+ ${BUILDLINK_PLIST_CMD.python21-pth} | \
+ ${GREP} '^\(include\|lib.*/lib[^/]*$$\)'
+BUILDLINK_FILES.python21-pth= `${_PY21_PTH_BLNK_FILES}`
BUILDLINK_TRANSFORM+= l:python:python2p1
BUILDLINK_CPPFLAGS.python21-pth+= \