svn commit: r494770 - head/net-mgmt/chillispot
Mark Linimon
linimon at FreeBSD.org
Wed Mar 6 03:53:49 UTC 2019
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 at 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}
More information about the svn-ports-all
mailing list