From owner-svn-ports-head@freebsd.org Tue Oct 30 11:44:30 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 9305A10E09E9; Tue, 30 Oct 2018 11:44:30 +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 483827F614; Tue, 30 Oct 2018 11:44:30 +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 295461CF60; Tue, 30 Oct 2018 11:44:30 +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 w9UBiUYh098609; Tue, 30 Oct 2018 11:44:30 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9UBiTn1098608; Tue, 30 Oct 2018 11:44:29 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201810301144.w9UBiTn1098608@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 30 Oct 2018 11:44:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483471 - in head/devel/jna: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/devel/jna: . files X-SVN-Commit-Revision: 483471 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Tue, 30 Oct 2018 11:44:30 -0000 Author: linimon Date: Tue Oct 30 11:44:29 2018 New Revision: 483471 URL: https://svnweb.freebsd.org/changeset/ports/483471 Log: Fix build on poweprc64. PR: 231741 Submitted by: Piotr Kubaj Modified: head/devel/jna/Makefile head/devel/jna/files/patch-native_Makefile Modified: head/devel/jna/Makefile ============================================================================== --- head/devel/jna/Makefile Tue Oct 30 11:36:44 2018 (r483470) +++ head/devel/jna/Makefile Tue Oct 30 11:44:29 2018 (r483471) @@ -15,7 +15,6 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.AL BROKEN_armv6= fails to compile: build.xml: compilation failed BROKEN_armv7= fails to compile: build.xml: compilation failed -BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-unknown-warning-option" USES= autoreconf:build gmake libtool USE_ANT= yes @@ -36,7 +35,7 @@ TEST_TARGET= test OPTIONS_DEFINE= DOCS -ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/} +ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/:S/powerpc64/ppc64/} post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ Modified: head/devel/jna/files/patch-native_Makefile ============================================================================== --- head/devel/jna/files/patch-native_Makefile Tue Oct 30 11:36:44 2018 (r483470) +++ head/devel/jna/files/patch-native_Makefile Tue Oct 30 11:44:29 2018 (r483471) @@ -18,3 +18,16 @@ LDFLAGS=-o $@ -shared CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING endif +@@ -338,10 +338,10 @@ endif + ifeq ($(CC),gcc) + GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.') + ifneq ($(GCC_MAJOR_VERSION),4) +- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable ++ LOC_CC_OPTS=-Werror -Wno-unused-variable + endif + else +- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable ++ LOC_CC_OPTS=-Werror -Wno-unused-variable + endif + + # Enable 64-bit builds if the arch demands it