From owner-svn-ports-head@freebsd.org Wed Feb 6 00:08:10 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 DEE9514D5817; Wed, 6 Feb 2019 00:08:09 +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.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 837B070E5A; Wed, 6 Feb 2019 00:08:09 +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 75E82254D4; Wed, 6 Feb 2019 00:08:09 +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 x16089L6037539; Wed, 6 Feb 2019 00:08:09 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x160898s037537; Wed, 6 Feb 2019 00:08:09 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201902060008.x160898s037537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 6 Feb 2019 00:08:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492278 - in head/math/rexx-regmath: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/math/rexx-regmath: . files X-SVN-Commit-Revision: 492278 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 837B070E5A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] 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: Wed, 06 Feb 2019 00:08:10 -0000 Author: linimon Date: Wed Feb 6 00:08:08 2019 New Revision: 492278 URL: https://svnweb.freebsd.org/changeset/ports/492278 Log: Base GCC doesn't support -Wno-incompatible-pointer-types, which breaks building on GCC-based architectures. Add -Wno-incompatible-pointer-types only when using Clang. PR: 235512 Submitted by: Piotr Kubaj Approved by: maintainer Modified: head/math/rexx-regmath/Makefile head/math/rexx-regmath/files/patch-Makefile.bsd Modified: head/math/rexx-regmath/Makefile ============================================================================== --- head/math/rexx-regmath/Makefile Wed Feb 6 00:04:13 2019 (r492277) +++ head/math/rexx-regmath/Makefile Wed Feb 6 00:08:08 2019 (r492278) @@ -14,16 +14,10 @@ COMMENT= Two mathematics libraries for Rexx LICENSE= MPL10 -BROKEN_mips= fails to compile: unrecognized command line option "-Wno-incompatible-pointer-types" -BROKEN_mips64= fails to compile: unrecognized command line option "-Wno-incompatible-pointer-types" -BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-incompatible-pointer-types" - BUILD_DEPENDS= ${LOCALBASE}/include/rexxsaa.h:lang/rexx-regina USES= zip -CFLAGS+= -Wno-incompatible-pointer-types - WRKSRC= ${WRKDIR}/math USE_LDCONFIG= yes LLD_UNSAFE= yes @@ -37,6 +31,10 @@ PORTDOCS= regmath.pdf PORTEXAMPLES= README testrxmath testrexxmath OPTIONS_DEFINE= DOCS EXAMPLES + +.if !exists(/usr/lib/libstdc++.so) +CFLAGS+= -Wno-incompatible-pointer-types +.endif do-install: ${INSTALL_LIB} ${WRKSRC}/librexxmath.so ${STAGEDIR}${PREFIX}/lib/ Modified: head/math/rexx-regmath/files/patch-Makefile.bsd ============================================================================== --- head/math/rexx-regmath/files/patch-Makefile.bsd Wed Feb 6 00:04:13 2019 (r492277) +++ head/math/rexx-regmath/files/patch-Makefile.bsd Wed Feb 6 00:08:08 2019 (r492278) @@ -1,12 +1,11 @@ ---- Makefile.bsd.orig 2001-11-04 18:09:04 UTC +--- Makefile.bsd.orig 2001-11-04 17:09:04 UTC +++ Makefile.bsd -@@ -9,7 +9,8 @@ +@@ -9,7 +9,7 @@ POPT=-O -fomit-frame-pointer PLFL=-s DEBUG=-g -CFLAGS=$(OPT) $(DEBUG) -pipe -fpic -I $$HOME/regina -pipe +CFLAGS+=$(OPT) $(DEBUG) -pipe -fpic -I $$HOME/regina -pipe -I/usr/local/include -+CFLAGS+=-Wno-incompatible-pointer-types LDFLAGS=-Bdynamic -Bshareable $(LFL) LIBS=-lm so=so