Date: Fri, 25 Sep 2009 18:53:34 GMT From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139140: textproc/lucene: fails to install WITH_CONTRIB Message-ID: <200909251853.n8PIrYx0083128@www.freebsd.org> Resent-Message-ID: <200909251900.n8PJ0DP4063285@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139140 >Category: ports >Synopsis: textproc/lucene: fails to install WITH_CONTRIB >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 25 19:00:13 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: FreeBSD 8 RC1 >Organization: >Environment: FreeBSD limbo.lan 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 24 08:40:24 EEST 2009 arcade@limbo.lan:/usr/obj/usr/src/sys/MINIMAL_8 i386 >Description: Setting WITH_CONTRIB breaks installation. >How-To-Repeat: [limbo] /usr/ports/textproc/lucene# make showconfig install ===> The following configuration options are available for lucene-2.4.1: DOCS=off "Install docs & examples" CONTRIB=on "Install contribs" ===> Use 'make config' to modify these settings ===> Installing for lucene-2.4.1 ===> lucene-2.4.1 depends on file: /usr/local/jdk1.6.0/bin/java - found ===> Generating temporary packing list ===> Checking if textproc/lucene already installed RE substitution error: parentheses not balanced usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /usr/ports/textproc/lucene. *** Error code 1 Stop in /usr/ports/textproc/lucene. >Fix: Patch attached. Patch attached with submission follows: --- Makefile.old 2009-09-25 21:51:45.691945168 +0300 +++ Makefile 2009-09-25 21:51:05.653053867 +0300 @@ -62,9 +62,9 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-core-${PORTVERSION}.jar ${JAVAJARDIR} .if defined(WITH_CONTRIB) - @${INSTALL_DATA} \ - ${CONTRIBS:C,^(.*$,${WRKSRC}/contrib/\1/${PORTNAME}-\1-${PORTVERSION}.jar,} \ - ${JAVADIR} + ${INSTALL_DATA} \ + ${CONTRIBS:C,^(.*)$,${WRKSRC}/contrib/\1/${PORTNAME}-\1-${PORTVERSION}.jar,} \ + ${JAVAJARDIR} .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909251853.n8PIrYx0083128>