diff options
author | drochner <drochner> | 2001-10-29 16:34:40 +0000 |
---|---|---|
committer | drochner <drochner> | 2001-10-29 16:34:40 +0000 |
commit | 4754b41478fe7498b741fc083ca57d1c77347221 (patch) | |
tree | 3afb6f39b99f1c822a591a6013b43da8bac1d19f /lang/python | |
parent | 029a9f221c30d3a115796932f5334568d9ad1d3e (diff) | |
download | pkgsrc-4754b41478fe7498b741fc083ca57d1c77347221.tar.gz |
use PLIST_SUBST instead of sed, as suggested by Thomas Klausner
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/extension.buildlink.mk | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk index 976b5d5c332..b8bd94eaa86 100644 --- a/lang/python/extension.buildlink.mk +++ b/lang/python/extension.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: extension.buildlink.mk,v 1.2 2001/10/29 05:45:09 jmc Exp $ +# $NetBSD: extension.buildlink.mk,v 1.3 2001/10/29 16:34:40 drochner Exp $ .include "../../mk/bsd.prefs.mk" @@ -95,15 +95,6 @@ do-install: (cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} ${PYSETUPINSTALLARGS} install) .endif -PY_PLIST_TEMPLATE?= ${PKGDIR}/PLIST -PY_PLIST_SRC?= ${WRKDIR}/.PLIST_SRC - -py_patchplist: - ${SED} "s|PYINC|${PYINC}|g;s|PYSITELIB|${PYSITELIB}|g" \ - <${PY_PLIST_TEMPLATE} >${PY_PLIST_SRC} - .if defined(PY_PATCHPLIST) -PLIST_SRC?= ${PY_PLIST_SRC} - -pre-install: py_patchplist +PLIST_SUBST+= PYINC=${PYINC} PYSITELIB=${PYSITELIB} .endif |