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:
parent
c79807bc76
commit
8e0ce6b3ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122993
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user