diff options
author | perky <perky@FreeBSD.org> | 2004-12-03 00:21:30 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-12-03 00:21:30 +0800 |
commit | 13c52773cf5ce4b87981c57fe2070712b70d0025 (patch) | |
tree | 2d8dba46f872f8f054e0cecb521988111cb318ca /www/zope | |
parent | 0b5125407018265459e0ed746fd9565236a418e7 (diff) | |
download | freebsd-ports-gnome-13c52773cf5ce4b87981c57fe2070712b70d0025.tar.gz freebsd-ports-gnome-13c52773cf5ce4b87981c57fe2070712b70d0025.tar.zst freebsd-ports-gnome-13c52773cf5ce4b87981c57fe2070712b70d0025.zip |
Fix build on Python 2.4.
Spotted by: kris
Diffstat (limited to 'www/zope')
-rw-r--r-- | www/zope/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile index 1c4a6cdc148d..77be1f829595 100644 --- a/www/zope/Makefile +++ b/www/zope/Makefile @@ -17,7 +17,7 @@ COMMENT= An object-based web application platform BUILD_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_xmlplus/sax/expatreader.py:${PORTSDIR}/textproc/py-xml -USE_PYTHON= yes +USE_PYTHON= 2.3- USE_RC_SUBR= yes USE_REINPLACE= yes DIST_SUBDIR= zope @@ -63,7 +63,9 @@ ISBATCH= "" .endif post-patch: - @${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\)\(.*"\)$$,\1 2.3.4 \2,g' \ + @${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\).*"$$,\1${PYTHON_PORTVERSION}",g' \ + -e 's,^\(TARGET="\).*"$$,\1${PYTHON_PORTVERSION}",g' \ + -e 's,^\(EXENAMES="\).*"$$,\1${PYTHON_VERSION}",g' \ ${WRKSRC}/configure post-install: |