Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162223462
D20667.id58719.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20667.id58719.diff
View Options
Index: head/java/eclipse/Makefile
===================================================================
--- head/java/eclipse/Makefile
+++ head/java/eclipse/Makefile
@@ -54,7 +54,7 @@
${LOCALBASE}/share/java/maven/bin/mvn:devel/maven
LIB_DEPENDS= libsecret-1.so:security/libsecret \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
-USES= gmake pkgconfig gnome
+USES= compiler:c++11-lang gmake pkgconfig gnome
USE_GNOME= gtk30
USE_GITHUB= yes
@@ -74,7 +74,7 @@
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_ECLIPSE= -Dnative=gtk.freebsd.${ARCH} -Dcomparator.repo=file://${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/p2-stub -DforceContextQualifier=v${ECLIPSE_TSTAMP}
Index: head/java/eclipse/files/patch-eclipse.platform.swt
===================================================================
--- head/java/eclipse/files/patch-eclipse.platform.swt
+++ head/java/eclipse/files/patch-eclipse.platform.swt
@@ -74,14 +74,11 @@
*)
SWT_ARCH=$MODEL
AWT_ARCH=$MODEL
-@@ -118,6 +116,16 @@
+@@ -118,6 +116,13 @@
esac
case $SWT_OS.$SWT_ARCH in
+ "freebsd.ppc64")
-+ if [ "${CC}" = "" ]; then
-+ export CC=gcc
-+ fi
+ if [ "${JAVA_HOME}" = "" ]; then
+ DYNAMIC_JAVA_HOME=`readlink -f /usr/local/bin/java | sed "s:jre/::" | sed "s:bin/java::"`
+ JAVA_HOME = $DYNAMIC_JAVA_HOME
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 1:20 AM (3 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34982484
Default Alt Text
D20667.id58719.diff (1 KB)
Attached To
Mode
D20667: java/eclipse: fix build
Attached
Detach File
Event Timeline
Log In to Comment