pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Adapt a change from FreeBSD's ports Mk/bsd...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0bc69423e60c
branches: trunk
changeset: 461139:0bc69423e60c
user: recht <recht%pkgsrc.org@localhost>
date: Thu Sep 11 13:13:47 2003 +0000
description:
Adapt a change from FreeBSD's ports Mk/bsd.python.mk.
Change the order of PYSETUP*AGS and the corresponding target.
Eg.:
s/${PYSETUPINSTALLARGS} install/install ${PYSETUPINSTALLARGS}/
This allows us to automatically install .pyo files with a
PYSETUPINSTALLARGS=-O1 -c and thus drop the compileall.py stuff in the
post-install target.
ok'ed by drochner@
diffstat:
lang/python/extension.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 6a573250f795 -r 0bc69423e60c lang/python/extension.mk
--- a/lang/python/extension.mk Thu Sep 11 12:55:19 2003 +0000
+++ b/lang/python/extension.mk Thu Sep 11 13:13:47 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.3 2003/05/09 09:24:17 jdolecek Exp $
+# $NetBSD: extension.mk,v 1.4 2003/09/11 13:13:47 recht Exp $
# derive a python version from the package name if possible
.if defined(PKGNAME_REQD)
@@ -22,11 +22,11 @@
do-build:
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \
- ${PYSETUP} ${PYSETUPBUILDARGS} build)
+ ${PYSETUP} build ${PYSETUPBUILDARGS})
do-install:
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \
- ${PYSETUP} ${PYSETUPINSTALLARGS} install)
+ ${PYSETUP} install ${PYSETUPINSTALLARGS})
.endif
.if defined(PY_PATCHPLIST)
Home |
Main Index |
Thread Index |
Old Index