From owner-svn-ports-head@freebsd.org Sat Jul 13 00:30:09 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 BFA6815DB1B0; Sat, 13 Jul 2019 00:30:08 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (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 "anongoth.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DBA393849; Sat, 13 Jul 2019 00:30:07 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [10.8.0.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 1CD602115A; Sat, 13 Jul 2019 02:29:48 +0200 (CEST) Date: Sat, 13 Jul 2019 02:29:46 +0200 From: Piotr Kubaj To: Mark Linimon Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r506498 - in head: devel/py-lxml editors/encryptpad games/lpairs graphics/comical lang/harbour mail/archiveopteryx mail/archiveopteryx-devel multimedia/oscam news/nget Message-ID: <20190713002946.GA99641@ThinkPad-X200.g.anongoth.pl> References: <201907130007.x6D07Z4Z010235@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2QVanySbh1jmLoeq" Content-Disposition: inline In-Reply-To: <201907130007.x6D07Z4Z010235@repo.freebsd.org> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 1DBA393849 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,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: Sat, 13 Jul 2019 00:30:09 -0000 --2QVanySbh1jmLoeq Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Why not put USES=compiler:c11 for those ports where you set USE_GCC=yes after checking whether we use base GCC? On 19-07-13 00:07:35, Mark Linimon wrote: >Author: linimon >Date: Sat Jul 13 00:07:35 2019 >New Revision: 506498 >URL: https://svnweb.freebsd.org/changeset/ports/506498 > >Log: > Prepare for powerpc-on-clang by deleting hard-coded tests for architecture > as a stand-in for "are we running on gcc". > > Approved by: portmgr (tier-2 blanket) > >Modified: > head/devel/py-lxml/Makefile > head/editors/encryptpad/Makefile > head/games/lpairs/Makefile > head/graphics/comical/Makefile > head/lang/harbour/Makefile > head/mail/archiveopteryx-devel/Makefile > head/mail/archiveopteryx/Makefile > head/multimedia/oscam/Makefile > head/news/nget/Makefile > >Modified: head/devel/py-lxml/Makefile >============================================================================== >--- head/devel/py-lxml/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/devel/py-lxml/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -13,7 +13,7 @@ COMMENT= Pythonic binding for the libxml2 and libxslt > LICENSE= BSD3CLAUSE > LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt > >-USES= gnome python uniquefiles:dirs >+USES= compiler gnome python uniquefiles:dirs > USE_GNOME= libxml2 libxslt > USE_PYTHON= autoplist concurrent distutils > >@@ -35,8 +35,8 @@ post-install-DOCS-on: > > .include > >-# on gcc-based architectures, use modern GCC due to use of #pragma >-.if ${ARCH} == mips || ${ARCH} == mips64 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpcspe || ${ARCH} == sparc64 >+# if using gcc, force modern GCC due to use of #pragma >+.if ${CHOSEN_COMPILER_TYPE} == gcc > USE_GCC= yes > .endif > > >Modified: head/editors/encryptpad/Makefile >============================================================================== >--- head/editors/encryptpad/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/editors/encryptpad/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -33,7 +33,7 @@ PORTDOCS= * > .include > > post-patch: >-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == gcc > ${REINPLACE_CMD} -e 's/freebsd-clang/freebsd-g++/' \ > ${WRKSRC}/build/Makefile.qt_ui > .endif > >Modified: head/games/lpairs/Makefile >============================================================================== >--- head/games/lpairs/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/games/lpairs/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -35,7 +35,7 @@ NLS_CONFIGURE_ENABLE= nls > > post-patch: > ${REINPLACE_CMD} -e 's|games/lpairs|lpairs|' ${WRKSRC}/configure.in >-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == gcc > ${REINPLACE_CMD} -e 's|-Wno-unused-result||' ${WRKSRC}/configure.in > .endif > > >Modified: head/graphics/comical/Makefile >============================================================================== >--- head/graphics/comical/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/graphics/comical/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -41,7 +41,7 @@ PLIST_FILES= bin/comical \ > pre-patch: > @${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons > >-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == gcc > pre-configure: > ${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile > .endif > >Modified: head/lang/harbour/Makefile >============================================================================== >--- head/lang/harbour/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/lang/harbour/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -27,7 +27,7 @@ LIB_DEPENDS= libslang.so:devel/libslang2\ > BUILD_DEPENDS= bash:shells/bash > RUN_DEPENDS:= ${BUILD_DEPENDS} > >-USES= bison gmake shebangfix ssl >+USES= bison compiler gmake shebangfix ssl > > SHEBANG_FILES= bin/hb3rdpat.hbs > SHEBANG_LANG= hbrun >@@ -122,7 +122,7 @@ post-patch: > -e 's|utmp.h|utmpx.h|g' ${WRKSRC}/src/rtl/gtcrs/gtcrs.h > > # override default for gcc-based archs >-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == gcc > HB_COMPILER= gcc > .endif > > >Modified: head/mail/archiveopteryx-devel/Makefile >============================================================================== >--- head/mail/archiveopteryx-devel/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/mail/archiveopteryx-devel/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -19,7 +19,7 @@ GH_ACCOUNT= aox > GH_PROJECT= aox > GH_TAGNAME= 96ab17e > >-USES= perl5 ssl >+USES= compiler perl5 ssl > USE_PERL5= build > WITH_PGSQL= client > >@@ -44,7 +44,7 @@ OPTIONS_DEFINE= DOCS > > # force Clang when on FreeBSD with clang in base > .if ${OPSYS} == FreeBSD >-.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == clang > JAMARG+= "-sCLANG=1" > .endif > .endif > >Modified: head/mail/archiveopteryx/Makefile >============================================================================== >--- head/mail/archiveopteryx/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/mail/archiveopteryx/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -14,7 +14,7 @@ LICENSE= MIT > > BUILD_DEPENDS= jam:devel/jam > >-USES= perl5 ssl tar:bzip2 >+USES= compiler perl5 ssl tar:bzip2 > USE_PERL5= build > WITH_PGSQL= client > >@@ -38,7 +38,7 @@ OPTIONS_DEFINE= DOCS > > # force Clang when on FreeBSD with clang in base > .if ${OPSYS} == FreeBSD >-.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == clang > JAMARG+= "-sCLANG=1" > .endif > .endif > >Modified: head/multimedia/oscam/Makefile >============================================================================== >--- head/multimedia/oscam/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/multimedia/oscam/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -12,7 +12,7 @@ COMMENT= Softcam software to decrypt digital tv channe > > LICENSE= GPLv3 > >-USES= gmake ssl tar:bzip2 >+USES= compiler gmake ssl tar:bzip2 > USE_RC_SUBR= oscam > > .if target(gen-dist) >@@ -30,7 +30,7 @@ BROKEN_FreeBSD_12= field has incomplete type 'BIGNUM' > BROKEN_FreeBSD_13= field has incomplete type 'BIGNUM' (aka 'struct bignum_st') > .endif > >-.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == clang > MAKE_ARGS+= HOSTCC=clang CC=clang > .endif > > >Modified: head/news/nget/Makefile >============================================================================== >--- head/news/nget/Makefile Fri Jul 12 23:58:22 2019 (r506497) >+++ head/news/nget/Makefile Sat Jul 13 00:07:35 2019 (r506498) >@@ -29,7 +29,7 @@ WRKSRC= ${WRKDIR}/nget-${PORTVERSION} > > .include > >-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+.if ${CHOSEN_COMPILER_TYPE} == gcc > CXXFLAGS+= -std=c++11 > .else > CXXFLAGS+= -std=c++98 > --2QVanySbh1jmLoeq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl0pJfpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM5 Q0M4ODc4RDkyNDgyODg3M0IyOEEyQjdBNTk5Qjg1MjA4MzlDOUQACgkQelmbhSCD nJ3cAxAAk5kQTt98kULfY8MyshZH/YUHCc3ZIkW07IZe7x4JGXLnUVVysJkLk2WR dicC/gUIZZYG+g7zp9k95l/ht9iDze10wA6qpLlE3lUY+ZPym7u6rl/NdMbdXP8D Q8bRGkmfh9aKZUoYPoS95bRZ2I1w8wozR9TuyYMNkxTwdBx0pnLdLH0EZv5tEJxy XN1eR3kj1+NJBxpqlTF9qHG33dT/T0+CN72ISg6+DBkEOYLJHs0LituUXtWz6am3 wRumPGkza6ZnBbU0W6260PZjQzFuws594y83UqQ/kntlc9CIb6ZmnfnHlNjaVh/8 yCWtybgbmwM+V1tq1FvDTCSvxQEGaNXQbg4FS6JK/HaLmmuX6DYSGKkRPlreQDo9 ae5R0Pf5TH1F4j3vc5PnP5T3VGIMwlMyl0LmzS+GaAb/9WQ64iRXD1UhRyi2aiBY dtdl1rSKPriAyrn/Ujkfw8Yf3DTggnfH5HViRODBSH6moI3HttmkgTihaw9IV81d lwFeMxbtoekSHm+GYMxQyxmGaRe8MfzTWJ2+hPwh2cISOoRQUOchnbnwhMzQ/wQb F8Fg+J87GH5fyIXUPdA0q2qkUthG7Fy4p47KtzcoQCFktuPH7OA5jF6ORkOocb1k g/TPiECQV0j3DtYzNOOSY4envpKk2ZeIB/vkuyzWVxiUTiR5gSw= =EZz6 -----END PGP SIGNATURE----- --2QVanySbh1jmLoeq--