diff options
author | drochner <drochner@pkgsrc.org> | 2001-10-29 16:34:40 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2001-10-29 16:34:40 +0000 |
commit | c5f1eacc366e3d0be90012c52000fd00d0f4054f (patch) | |
tree | 3afb6f39b99f1c822a591a6013b43da8bac1d19f /lang | |
parent | c5e44f3ff0da5e6d3e4fc19f682f693e3bba97dd (diff) | |
download | pkgsrc-c5f1eacc366e3d0be90012c52000fd00d0f4054f.tar.gz |
use PLIST_SUBST instead of sed, as suggested by Thomas Klausner
Diffstat (limited to 'lang')
-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 |