diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-03-06 03:53:48 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-03-06 03:53:48 +0000 |
commit | 24b49f43d56fb1138da51ee1bcd08a7f6278b61f (patch) | |
tree | 554d3c9cdf823d44b84f38c45c2f6aba587cbedb /net-mgmt | |
parent | 6c2156fa1d0b6d19412d7157b1a6b3b78ce15eac (diff) | |
download | ports-24b49f43d56fb1138da51ee1bcd08a7f6278b61f.tar.gz ports-24b49f43d56fb1138da51ee1bcd08a7f6278b61f.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/chillispot/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/chillispot/Makefile b/net-mgmt/chillispot/Makefile index 4185bed60006..1b2c8c18aa9e 100644 --- a/net-mgmt/chillispot/Makefile +++ b/net-mgmt/chillispot/Makefile @@ -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 @@ -37,6 +32,10 @@ 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} ${INSTALL_DATA} ${WRKSRC}/doc/chilli.conf ${STAGEDIR}${DATADIR}/chilli.conf.sample |