From owner-svn-ports-head@freebsd.org Wed Mar 6 03:53:49 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 0082D1524DB1; Wed, 6 Mar 2019 03:53:49 +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 98C4D718C4; Wed, 6 Mar 2019 03:53:48 +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 8917925F7F; Wed, 6 Mar 2019 03:53:48 +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 x263rmn8048069; Wed, 6 Mar 2019 03:53:48 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x263rmr2048068; Wed, 6 Mar 2019 03:53:48 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201903060353.x263rmr2048068@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 6 Mar 2019 03:53:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494770 - head/net-mgmt/chillispot X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/net-mgmt/chillispot X-SVN-Commit-Revision: 494770 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 98C4D718C4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,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: Wed, 06 Mar 2019 03:53:49 -0000 Author: linimon Date: Wed Mar 6 03:53:48 2019 New Revision: 494770 URL: https://svnweb.freebsd.org/changeset/ports/494770 Log: This port requires adding -fnested-functions to CFLAGS when building with base GCC. Additionally, replace USE_GCC=any with USES=compiler:nestedfct. PR: 236009 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/net-mgmt/chillispot/Makefile Modified: head/net-mgmt/chillispot/Makefile ============================================================================== --- head/net-mgmt/chillispot/Makefile Wed Mar 6 03:48:42 2019 (r494769) +++ head/net-mgmt/chillispot/Makefile Wed Mar 6 03:53:48 2019 (r494770) @@ -12,19 +12,14 @@ MASTER_SITES= http://www.chillispot.info/download/ \ MAINTAINER= venture37@geeklan.co.uk COMMENT= Wireless LAN Access Point Controller -BROKEN_mips= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_mips64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_powerpc64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable - CONFLICTS= coovachilli-[0-9]* -USES= shebangfix +USES= compiler:nestedfct shebangfix SHEBANG_FILES= doc/hotspotlogin.cgi GNU_CONFIGURE= yes CONFIGURE_ARGS=-sysconfdir=${PREFIX}/etc USE_RC_SUBR= chillispot SUB_FILES= pkg-message installguide.txt -USE_GCC= any OPTIONS_DEFINE= APACHE RADIUS OPTIONS_SINGLE= RADIUS @@ -36,6 +31,10 @@ OPENRADIUS_DESC=depend on OpenRADIUS APACHE_USE= apache_run=22+ FREERADIUS_RUN_DEPENDS= radiusd:net/freeradius OPENRADIUS_RUN_DEPENDS= radiusd:net/openradius + +.if exists(/usr/lib/libstdc++.so) +CFLAGS+= -fnested-functions +.endif post-install: ${MKDIR} ${STAGEDIR}${DATADIR}