From owner-svn-ports-head@freebsd.org Fri Jul 12 01:57:59 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 5DF8015E392A; Fri, 12 Jul 2019 01:57:59 +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 D9AFF75AA1; Fri, 12 Jul 2019 01:57:58 +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 B03C978C9; Fri, 12 Jul 2019 01:57:58 +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 x6C1vw8S013204; Fri, 12 Jul 2019 01:57:58 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6C1vv2q013200; Fri, 12 Jul 2019 01:57:57 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201907120157.x6C1vv2q013200@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 12 Jul 2019 01:57:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506430 - in head: deskutils/growl-for-linux devel/tigcc multimedia/kissdx net-mgmt/chillispot X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head: deskutils/growl-for-linux devel/tigcc multimedia/kissdx net-mgmt/chillispot X-SVN-Commit-Revision: 506430 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D9AFF75AA1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.93)[-0.929,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; 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: Fri, 12 Jul 2019 01:57:59 -0000 Author: linimon Date: Fri Jul 12 01:57:57 2019 New Revision: 506430 URL: https://svnweb.freebsd.org/changeset/ports/506430 Log: Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so as a stand-in for "are we running on gcc". These 4 cases are outliers because they set compiler:nestedfct which currently hardwires gcc. So the real test for including -fnested-functions into CFLAGS is "are we on the ancient base gcc". Approved by: portmgr (tier-2 blanket) Modified: head/deskutils/growl-for-linux/Makefile head/devel/tigcc/Makefile head/multimedia/kissdx/Makefile head/net-mgmt/chillispot/Makefile Modified: head/deskutils/growl-for-linux/Makefile ============================================================================== --- head/deskutils/growl-for-linux/Makefile Fri Jul 12 00:40:35 2019 (r506429) +++ head/deskutils/growl-for-linux/Makefile Fri Jul 12 01:57:57 2019 (r506430) @@ -41,7 +41,9 @@ USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/display \ ${PREFIX}/lib/${PORTNAME}/subscribe -.if exists(/usr/lib/libstdc++.so) +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 CFLAGS+= -fnested-functions .endif @@ -52,4 +54,4 @@ post-patch: post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a -.include +.include Modified: head/devel/tigcc/Makefile ============================================================================== --- head/devel/tigcc/Makefile Fri Jul 12 00:40:35 2019 (r506429) +++ head/devel/tigcc/Makefile Fri Jul 12 01:57:57 2019 (r506430) @@ -144,7 +144,7 @@ do-install-EXAMPLES-on: .include -.if exists(/usr/lib/libstdc++.so) +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 CFLAGS+= -fnested-functions .endif Modified: head/multimedia/kissdx/Makefile ============================================================================== --- head/multimedia/kissdx/Makefile Fri Jul 12 00:40:35 2019 (r506429) +++ head/multimedia/kissdx/Makefile Fri Jul 12 01:57:57 2019 (r506430) @@ -43,7 +43,9 @@ post-patch: s|^\.o :|${PORTNAME}: $$(OBJS)| ; \ /^all:/s| $$(OBJS)||' ${WRKSRC}/Makefile -.if exists(/usr/lib/libstdc++.so) +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 CFLAGS+= -fnested-functions .endif @@ -60,4 +62,4 @@ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.include +.include Modified: head/net-mgmt/chillispot/Makefile ============================================================================== --- head/net-mgmt/chillispot/Makefile Fri Jul 12 00:40:35 2019 (r506429) +++ head/net-mgmt/chillispot/Makefile Fri Jul 12 01:57:57 2019 (r506430) @@ -32,7 +32,9 @@ APACHE_USE= apache_run=22+ FREERADIUS_RUN_DEPENDS= radiusd:net/freeradius OPENRADIUS_RUN_DEPENDS= radiusd:net/openradius -.if exists(/usr/lib/libstdc++.so) +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 CFLAGS+= -fnested-functions .endif @@ -46,4 +48,4 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/pf.conf.sample ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/ipfw-config.sample ${STAGEDIR}${DATADIR} -.include +.include