mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
java/eclipse: fix build
Require new GCC to build this port on GCC architectures. PR: 238489 Approved by: jonc@chen.org.nz (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D20667
This commit is contained in:
parent
f8dfec2cb4
commit
69a055bbed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504379
2 changed files with 3 additions and 6 deletions
|
@ -54,7 +54,7 @@ BUILD_DEPENDS= git:devel/git-lite \
|
||||||
${LOCALBASE}/share/java/maven/bin/mvn:devel/maven
|
${LOCALBASE}/share/java/maven/bin/mvn:devel/maven
|
||||||
LIB_DEPENDS= libsecret-1.so:security/libsecret \
|
LIB_DEPENDS= libsecret-1.so:security/libsecret \
|
||||||
libwebkit2gtk-4.0.so:www/webkit2-gtk3
|
libwebkit2gtk-4.0.so:www/webkit2-gtk3
|
||||||
USES= gmake pkgconfig gnome
|
USES= compiler:c++11-lang gmake pkgconfig gnome
|
||||||
USE_GNOME= gtk30
|
USE_GNOME= gtk30
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
|
@ -74,7 +74,7 @@ DESKTOP_ENTRIES="Eclipse" \
|
||||||
|
|
||||||
SUB_FILES= ${PORTNAME}
|
SUB_FILES= ${PORTNAME}
|
||||||
|
|
||||||
MAVEN_ENV= MAVEN_OPTS=-Xmx1024m
|
MAVEN_ENV= MAVEN_OPTS=-Xmx1024m CC=${CC}
|
||||||
MAVEN_REPO= -Dmaven.repo.local=${WRKDIR}/${GH_PROJECT}-${PORTVERSION}
|
MAVEN_REPO= -Dmaven.repo.local=${WRKDIR}/${GH_PROJECT}-${PORTVERSION}
|
||||||
MAVEN_ECLIPSE= -Dnative=gtk.freebsd.${ARCH} -Dcomparator.repo=file://${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/p2-stub -DforceContextQualifier=v${ECLIPSE_TSTAMP}
|
MAVEN_ECLIPSE= -Dnative=gtk.freebsd.${ARCH} -Dcomparator.repo=file://${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/p2-stub -DforceContextQualifier=v${ECLIPSE_TSTAMP}
|
||||||
|
|
||||||
|
|
|
@ -74,14 +74,11 @@ diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library
|
||||||
*)
|
*)
|
||||||
SWT_ARCH=$MODEL
|
SWT_ARCH=$MODEL
|
||||||
AWT_ARCH=$MODEL
|
AWT_ARCH=$MODEL
|
||||||
@@ -118,6 +116,16 @@
|
@@ -118,6 +116,13 @@
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $SWT_OS.$SWT_ARCH in
|
case $SWT_OS.$SWT_ARCH in
|
||||||
+ "freebsd.ppc64")
|
+ "freebsd.ppc64")
|
||||||
+ if [ "${CC}" = "" ]; then
|
|
||||||
+ export CC=gcc
|
|
||||||
+ fi
|
|
||||||
+ if [ "${JAVA_HOME}" = "" ]; then
|
+ if [ "${JAVA_HOME}" = "" ]; then
|
||||||
+ DYNAMIC_JAVA_HOME=`readlink -f /usr/local/bin/java | sed "s:jre/::" | sed "s:bin/java::"`
|
+ DYNAMIC_JAVA_HOME=`readlink -f /usr/local/bin/java | sed "s:jre/::" | sed "s:bin/java::"`
|
||||||
+ JAVA_HOME = $DYNAMIC_JAVA_HOME
|
+ JAVA_HOME = $DYNAMIC_JAVA_HOME
|
||||||
|
|
Loading…
Add table
Reference in a new issue