summaryrefslogtreecommitdiff
path: root/lang/python22
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-09 23:20:57 +0000
committerjlam <jlam>2002-10-09 23:20:57 +0000
commit91dcb2e08a2e48a267916aa67a5567efb6de3a9f (patch)
tree9ef743da28fc55cab4c4b516a7fb72f010a993a1 /lang/python22
parent3e49fddfeffda74c9489b548fc0e5c10ad820169 (diff)
downloadpkgsrc-91dcb2e08a2e48a267916aa67a5567efb6de3a9f.tar.gz
Use BUILDLINK_PLIST_CMD.python22 to create BUILDLINK_FILES.python22,
instead of trying to parse the PLIST, which may not exist, or may not have a full list of files installed by the package.
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/buildlink2.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/python22/buildlink2.mk b/lang/python22/buildlink2.mk
index d7949a78b99..f70d4f42241 100644
--- a/lang/python22/buildlink2.mk
+++ b/lang/python22/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.4 2002/10/09 11:40:41 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.5 2002/10/09 23:20:57 jlam Exp $
.if !defined(PYTHON22_BUILDLINK2_MK)
PYTHON22_BUILDLINK2_MK= # defined
@@ -6,6 +6,7 @@ PYTHON22_BUILDLINK2_MK= # defined
.include "../../mk/bsd.prefs.mk"
BUILDLINK_PACKAGES+= python22
+BUILDLINK_PKGBASE.python22?= python22
BUILDLINK_DEPENDS.python22?= python22>=2.2
BUILDLINK_PKGSRCDIR.python22?= ../../lang/python22
@@ -15,11 +16,10 @@ BUILDLINK_DEPMETHOD.python22?= ${BUILDLINK_DEPMETHOD.python}
EVAL_PREFIX+= BUILDLINK_PREFIX.python22=python22
BUILDLINK_PREFIX.python22_DEFAULT= ${LOCALBASE}
-_PY22_PLIST= ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python22}/PLIST.common
-_PY22_PLIST+= ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python22}/PLIST.${LOWER_OPSYS}
-_PY22_PLIST+= ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python22}/PLIST.common_end
-BUILDLINK_FILES.python22!= ${CAT} ${_PY22_PLIST} | ${GREP} "^include/"
-BUILDLINK_FILES.python22+= lib/python2.2/config/libpython2.2.*
+_PY22_BLNK_FILES= \
+ ${BUILDLINK_PLIST_CMD.python22} | \
+ ${GREP} '^\(include\|lib.*/lib[^/]*$$\)'
+BUILDLINK_FILES.python22= `${_PY22_BLNK_FILES}`
BUILDLINK_TRANSFORM+= l:python:python2.2
BUILDLINK_CPPFLAGS.python22+= \