1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix build on Python 2.4.

Spotted by:	kris
This commit is contained in:
Hye-Shik Chang 2004-12-02 16:21:30 +00:00
parent c79807bc76
commit 8e0ce6b3ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122993
6 changed files with 24 additions and 12 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: