Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 19:19:07 +0200
From:      "Rémi LAURENT" <cloud@madpowah.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        cloud@madpowah.org
Subject:   ports/123000: devel/jude-community need jdk1.4 which can't compil with GCC4.2
Message-ID:  <1208884747.29999@freebsd>
Resent-Message-ID: <200804222220.m3MMK1X2080196@freefall.freebsd.org>

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

>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@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:



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