diff options
Diffstat (limited to 'lang/jython/Makefile')
-rw-r--r-- | lang/jython/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/jython/Makefile b/lang/jython/Makefile index 01eb46bc5ac4..ee36db3600d1 100644 --- a/lang/jython/Makefile +++ b/lang/jython/Makefile @@ -6,7 +6,7 @@ # PORTNAME= jython -PORTVERSION= 2.5.1 +PORTVERSION= 2.5.2 CATEGORIES= lang python java MASTER_SITES= SF DISTNAME= jython_installer-${PORTVERSION} @@ -42,6 +42,9 @@ do-install: ${REINPLACE_CMD} \ 's/-cl/"-Dpython.cachedir=$${HOME}\/.jython-cachedir" -cl/g' \ ${JYTHON_PREFIX}/jython + ${REINPLACE_CMD} \ + 's,if expr "$$link" : '\''/'\'' > /dev/null; then,if expr "$$link" : '\''^/'\'' > /dev/null; then,' \ + ${JYTHON_PREFIX}/jython ${REINPLACE_CMD} 's/^python\.cachedir/#&/g' ${JYTHON_PREFIX}/registry ${JYTHON_PREFIX}/jython ${CACHEDIR_SPEC} -c None |