From owner-svn-ports-head@freebsd.org Mon Nov 5 23:27:51 2018 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 061AE110F15D; Mon, 5 Nov 2018 23:27:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 792267A55F; Mon, 5 Nov 2018 23:27:50 +0000 (UTC) (envelope-from linimon@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 593351E44C; Mon, 5 Nov 2018 23:27:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA5NRoC4005245; Mon, 5 Nov 2018 23:27:50 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA5NRo7L005244; Mon, 5 Nov 2018 23:27:50 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811052327.wA5NRo7L005244@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Mon, 5 Nov 2018 23:27:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484256 - head/java/java3d X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/java/java3d X-SVN-Commit-Revision: 484256 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 792267A55F X-Spamd-Result: default: False [-102.78 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.68)[-0.681,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org 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: Mon, 05 Nov 2018 23:27:51 -0000 Author: linimon Date: Mon Nov 5 23:27:49 2018 New Revision: 484256 URL: https://svnweb.freebsd.org/changeset/ports/484256 Log: When building on powerpc64, libj3dcore-ogl.so library isn't built. Fix install target by fixing CFLAGS. PR: 231946 Submitted by: Piotr Kubaj Modified: head/java/java3d/Makefile Modified: head/java/java3d/Makefile ============================================================================== --- head/java/java3d/Makefile Mon Nov 5 23:23:55 2018 (r484255) +++ head/java/java3d/Makefile Mon Nov 5 23:27:49 2018 (r484256) @@ -17,7 +17,7 @@ BROKEN_aarch64= fails to compile: GVector.java:168: b BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details -USES= tar:bzip2 +USES= gl tar:bzip2 USE_JAVA= yes USE_GL= gl USE_XORG= xt @@ -33,6 +33,8 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS +.include + post-patch: ${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ ${WRKSRC}/j3d-core/src/native/ogl/build-freebsd.xml @@ -58,10 +60,12 @@ do-install: ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dcore.jar \ ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dutils.jar \ ${STAGEDIR}${JAVA_HOME}/jre/lib/ext +.if ${ARCH} != powerpc64 @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} ${INSTALL} \ ${WRKSRC}/j3d-core/build/default/opt/native/libj3dcore-ogl.so \ ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} +.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}