aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2009-08-24 02:25:09 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2009-08-24 02:25:09 +0000
commite074da8cf4fd3ac68eb4c64796dd50bef6121653 (patch)
tree5f26bd071b9539d3de104f2b6c0e8f6713687e76 /textproc
parent48a8fc291e4c0111d33a8c3479a0ceb1590c6498 (diff)
downloadports-e074da8cf4fd3ac68eb4c64796dd50bef6121653.tar.gz
ports-e074da8cf4fd3ac68eb4c64796dd50bef6121653.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-lucene/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/py-lucene/Makefile b/textproc/py-lucene/Makefile
index 4dcbcee659bf..c8a4630d7c73 100644
--- a/textproc/py-lucene/Makefile
+++ b/textproc/py-lucene/Makefile
@@ -39,13 +39,12 @@ MAKE_ARGS+= PREFIX=${PREFIX} PREFIX_PYTHON=${LOCALBASE} PYTHON=${PYTHON_CMD} \
LDFLAGS+=-L${LOCALBASE}/lib PYTHON_INC=${PYTHON_INCLUDEDIR} \
PYTHON_SITE=${PYTHON_SITELIBDIR}
-pre-build:
- ${CP} -R ${WRKDIR}/../../lucene/work/lucene-${LUCENE_VER} ${WRKSRC}/lucene-java-${LUCENE_VER}
-
.include <bsd.port.pre.mk>
+pre-build:
+ ${CP} -R ${WRKDIR}/../../lucene/work/lucene-${LUCENE_VER} ${WRKSRC}/lucene-java-${LUCENE_VER}
.if ${PYTHON_REL} > 250
-BROKEN= Doesn't build with ${PYTHON_VERSION}
+ @${REINPLACE_CMD} -e 's,-m jcc,-m jcc.__main__,' ${WRKSRC}/Makefile
.endif
#regression-test: