diff options
author | miwi <miwi@FreeBSD.org> | 2009-06-09 06:30:55 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-06-09 06:30:55 +0800 |
commit | ad6dcb178b410931b8a584938b44fc4da53756f8 (patch) | |
tree | 8ce0d77d48a49a1635170171ab0c9ebe5244ee5c /sysutils/kleansweep | |
parent | e4a324dde12b05e8afc0511401cb97ac0ae57582 (diff) | |
download | freebsd-ports-gnome-ad6dcb178b410931b8a584938b44fc4da53756f8.tar.gz freebsd-ports-gnome-ad6dcb178b410931b8a584938b44fc4da53756f8.tar.zst freebsd-ports-gnome-ad6dcb178b410931b8a584938b44fc4da53756f8.zip |
- 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
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}) |