diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-06-08 22:30:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-06-08 22:30:55 +0000 |
commit | 81100672d4de2795c4284cf568383d48955cbdcb (patch) | |
tree | 47e3d403298c2fd50b0ec056f62df5c31925decb /sysutils/kleansweep | |
parent | - Updated to 0.2.5931 (diff) |
- Update lang/python26 and make Python 2.6.2 to the default Python version
Tested by: 3 pointyhat runs
Thanks to: pav, gahr, lwhsu, mva, amdmi3
Notes
Notes:
svn path=/head/; revision=235453
Diffstat (limited to 'sysutils/kleansweep')
-rw-r--r-- | sysutils/kleansweep/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/kleansweep/Makefile b/sysutils/kleansweep/Makefile index 143342a436eb..3d6deef41de6 100644 --- a/sysutils/kleansweep/Makefile +++ b/sysutils/kleansweep/Makefile @@ -7,7 +7,7 @@ PORTNAME= kleansweep PORTVERSION= 0.2.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= http://linux.bydg.org/~yogin/ @@ -22,6 +22,11 @@ USE_KDELIBS_VER=3 post-extract: (cd ${WRKSRC} && ${TAR} xzf admin/scons-mini.tar.bz2) +post-patch: +# `as' is reserved word in python 2.6, rename module + @cd ${WRKSRC}/scons-local-0.96.1/SCons/Tool && ${MV} as.py asm.py + @${REINPLACE_CMD} -e 's|as\.gen|asm.gen|; /import/ s|as|asm|' \ + ${WRKSRC}/scons-local-0.96.1/SCons/Tool/gas.py do-configure: (cd ${WRKSRC} && ./scons configure prefix=${PREFIX}) |