Date: Fri, 25 May 2012 11:31:58 -0700 From: Jason Helfman <jgh@FreeBSD.org> To: java@freebsd.org Subject: updating lucene to 3.6.0, error in cleanup Message-ID: <20120525183158.GB31475@dormouse.experts-exchange.com>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120525183158.GB31475>