diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-09 23:20:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-09 23:20:57 +0000 |
commit | 016e07aedfc2d5833f29fc6577ee77512584faf5 (patch) | |
tree | 9ef743da28fc55cab4c4b516a7fb72f010a993a1 /lang/python22/buildlink2.mk | |
parent | 7a45d6d21f7284a2dd00c24f95ba83771c2fdb2a (diff) | |
download | pkgsrc-016e07aedfc2d5833f29fc6577ee77512584faf5.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/buildlink2.mk')
-rw-r--r-- | lang/python22/buildlink2.mk | 12 |
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+= \ |