diff options
Diffstat (limited to 'lang/python22')
-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+= \ |