Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 15:45:48 -0600
From:      Bruno Alves Dias <bruno@privatdemail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170772: [patch] java/icedtea-web: fails without /usr/bin/perl
Message-ID:  <86y5la7dyr.fsf@privatdemail.net>
Resent-Message-ID: <201208192200.q7JM0Mur007972@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170772
>Category:       ports
>Synopsis:       [patch] java/icedtea-web: fails without /usr/bin/perl
>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:   Sun Aug 19 22:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bruno Alves Dias
>Release:        
>Organization:
>Environment:
install lang/perl5.* without USE_PERL
>Description:
>How-To-Repeat:
$ make
[...]
gmake: /usr/ports/java/icedtea-web/work/icedtea-web-1.2.1/bootstrap/jdk1.6.0/bin/javac: Command not found
gmake: *** [stamps/netx.stamp] Error 127
>Fix:
--- use_perl.diff begins here ---
Index: java/icedtea-web/Makefile
===================================================================
--- java/icedtea-web/Makefile	(revision 302403)
+++ java/icedtea-web/Makefile	(working copy)
@@ -86,6 +86,7 @@ CONFIGURE_ARGS+=--with-junit=no
 .endif
 
 post-patch:
+	${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/javac.in
 	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
 	    ${WRKSRC}/launcher/javaws.in
 
--- use_perl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y5la7dyr.fsf>