updating lucene to 3.6.0, error in cleanup
Jason Helfman
jgh at FreeBSD.org
Fri May 25 18:33:22 UTC 2012
Hi,
I am in the process of updating lucene to 3.6.0, and found that it needs
apache-ivy jar. I am in the process of porting this dependency, but in the
meanwhile, I placed it in ${JAVAJARDIR}, and edited the makefile of lucene
so it builds. However, in cleanup I get this error:
[jhelfman at dormouse ~/workspace/ports/textproc/lucene]$ sudo make clean
lucene-3.6.0: "/usr/local/bin/ant" non-existent -- dependency list
incomplete
lucene-3.6.0: "-lib" non-existent -- dependency list incomplete
===> Cleaning for lucene-3.6.0
Here is the diff of the Makefile:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/lucene/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 4 Apr 2012 17:24:04 -0000 1.12
+++ Makefile 25 May 2012 18:31:22 -0000
@@ -7,7 +7,7 @@
# Please don't forget to bump the version in py-lucene if this changes!
PORTNAME= lucene
-PORTVERSION= 3.5.0
+PORTVERSION= 3.6.0
CATEGORIES= textproc java devel
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/
@@ -19,6 +19,7 @@
LICENSE= AL2
+ANT= ${LOCALBASE}/bin/ant -lib ${JAVAJARDIR}
USE_JAVA= yes
USE_ANT= yes
JAVA_VERSION= 1.5+
Is there a better way to be doing this? Am I doing anything wrong?
Thanks!
-jgh
--
Jason Helfman
FreeBSD Committer | http://people.freebsd.org/~jgh | The Power To Serve
More information about the freebsd-java
mailing list