From owner-svn-ports-head@freebsd.org Sun Jun 16 22:58:18 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1EFC15CCAA6; Sun, 16 Jun 2019 22:58:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9864F6CEDC; Sun, 16 Jun 2019 22:58:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 66A331D110; Sun, 16 Jun 2019 22:58:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5GMwHRW075842; Sun, 16 Jun 2019 22:58:17 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5GMwG96075840; Sun, 16 Jun 2019 22:58:16 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201906162258.x5GMwG96075840@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sun, 16 Jun 2019 22:58:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504379 - in head/java/eclipse: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/java/eclipse: . files X-SVN-Commit-Revision: 504379 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9864F6CEDC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2019 22:58:18 -0000 Author: pkubaj Date: Sun Jun 16 22:58:16 2019 New Revision: 504379 URL: https://svnweb.freebsd.org/changeset/ports/504379 Log: 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 Modified: head/java/eclipse/Makefile head/java/eclipse/files/patch-eclipse.platform.swt Modified: head/java/eclipse/Makefile ============================================================================== --- head/java/eclipse/Makefile Sun Jun 16 22:29:03 2019 (r504378) +++ head/java/eclipse/Makefile Sun Jun 16 22:58:16 2019 (r504379) @@ -54,7 +54,7 @@ BUILD_DEPENDS= git:devel/git-lite \ ${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 @@ DESKTOP_ENTRIES="Eclipse" \ 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} Modified: head/java/eclipse/files/patch-eclipse.platform.swt ============================================================================== --- head/java/eclipse/files/patch-eclipse.platform.swt Sun Jun 16 22:29:03 2019 (r504378) +++ head/java/eclipse/files/patch-eclipse.platform.swt Sun Jun 16 22:58:16 2019 (r504379) @@ -74,14 +74,11 @@ diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/ *) 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