ports/123000: devel/jude-community need jdk1.4 which can't compil with GCC4.2

Rémi LAURENT cloud at madpowah.org
Tue Apr 22 22:20:01 UTC 2008


>Number:         123000
>Category:       ports
>Synopsis:       devel/jude-community need jdk1.4 which can't compil with GCC4.2
>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:   Tue Apr 22 22:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Rémi LAURENT
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 7.0-STABLE #8: Sun Apr 20 13:50:22 CEST 2008
    root at freebsd:/usr/obj/usr/src/sys/POAH



>Description:


Jude-community can't compile because it requires jdk1.4 which can't compil with GCC4.2


>How-To-Repeat:


cd /usr/ports/devel/jude-community && make install clean


>Fix:


Modify the devel/jude-community/Makefile :

.if !defined(WITHOUT_EXPORT_HTML)
- JAVA_VERSION=   1.4
.else
- JAVA_VERSION=   1.4+

.if !defined(WITHOUT_EXPORT_HTML)
+ JAVA_VERSION=   1.6
.else
+ JAVA_VERSION=   1.6+

Next it need to modify /usr/local/bin/jude :

- /usr/local/jdk1.4.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR  $1 $2 $3

+ /usr/local/jdk1.6.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR  $1 $2 $3



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list