Bug 170772 - [patch] java/icedtea-web: fails without /usr/bin/perl
Summary: [patch] java/icedtea-web: fails without /usr/bin/perl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 23:00 UTC by Bruno Alves Dias
Modified: 2012-09-10 20:20 UTC (History)
0 users

See Also:


Attachments
use_perl.diff (425 bytes, patch)
2012-08-19 23:00 UTC, Bruno Alves Dias
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Alves Dias 2012-08-19 23:00:22 UTC

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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-19 23:00:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-java

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-10 20:15:21 UTC
Author: jkim
Date: Mon Sep 10 19:15:11 2012
New Revision: 304052
URL: http://svn.freebsd.org/changeset/ports/304052

Log:
  - Add perl as a build dependency.
  - Fix perl path for javac wrapper. [1]
  
  PR:		ports/170772 [1]

Modified:
  head/java/icedtea-web/Makefile

Modified: head/java/icedtea-web/Makefile
==============================================================================
--- head/java/icedtea-web/Makefile	Mon Sep 10 19:09:48 2012	(r304051)
+++ head/java/icedtea-web/Makefile	Mon Sep 10 19:15:11 2012	(r304052)
@@ -22,6 +22,7 @@ USE_JAVA=	yes
 JAVA_OS=	native
 JAVA_VENDOR=	openjdk
 JAVA_VERSION=	1.6+
+USE_PERL5_BUILD=yes
 USE_XORG=	x11
 
 OPTIONS_DEFINE=	PLUGIN RHINO TEST
@@ -91,6 +92,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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2012-09-10 20:15:36 UTC
State Changed
From-To: open->closed

Committed, thanks!