From owner-freebsd-java@FreeBSD.ORG Fri May 25 18:33:22 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDAD91065674 for ; Fri, 25 May 2012 18:33:22 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 992CC8FC08 for ; Fri, 25 May 2012 18:33:22 +0000 (UTC) Received: by dadv36 with SMTP id v36so1697453dad.13 for ; Fri, 25 May 2012 11:33:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-operating-system:organization :x-living-the-dream:x-pgp-fingerprint:x-pgp-key:user-agent :x-gm-message-state; bh=lWIlTlE4g9LJOAXmN27h/HDjXY97Vwm1yCBygBdE3yo=; b=LfAv01zqkHCp6uCXETbR8cH5Y0m+sUVv55iH8CVOmlDWhZqht9ce6MDEmfyr6MD361 +NKxA4rK7x46HBRyD9b8JzUPbmrq0AlyIJV7d2t22FGgJhKYHA5nXGo0OPs7ubmBdAQV pffgTWAIy9wvA7bA5zOMfyG8dwTOkNyUPoYKxbZVayZJ2xDn42I20wZZTddkF3GippJP 5KN4iEOFrZoOxbjlX8reriob4yA74ZQCkk+qcliY7KSETovPtaMeTedbnj7GsEL+y2ay ONmUFE85RHW8EmwsTzCfsjBoOJcLc6QALP9wYzgtifOuonNLEb/ytL7IDicyE/qhgdQT uONg== Received: by 10.68.200.104 with SMTP id jr8mr189185pbc.9.1337970801750; Fri, 25 May 2012 11:33:21 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id jv6sm9815993pbc.40.2012.05.25.11.33.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 11:33:20 -0700 (PDT) Sender: Jason Helfman Date: Fri, 25 May 2012 11:31:58 -0700 From: Jason Helfman To: java@freebsd.org Message-ID: <20120525183158.GB31475@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Operating-System: FreeBSD 8.3-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmfLbacgI8xx1OG8vnDnYh5H7j4tQ2H5DDQt5tSLvL4N1qvkxQNa7P+bY9txGxAunCEUgtO Cc: Subject: updating lucene to 3.6.0, error in cleanup X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 18:33:22 -0000 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