mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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)
This commit is contained in:
parent
6c2156fa1d
commit
24b49f43d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494770
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user