net-mgmt/chillispot: Omit special GCC 4.2 handling

Remove code catering to GCC 4.2 (as system compiler) which is not
necessary any longer: USES=compiler never pulls that in anymore.

This reverts commit 92e22122e8 (and
part of 24b49f43d5) from 3+ years ago.

Approved by:	maintainer (Sevan Janiyan <venture37@geeklan.co.uk>)
This commit is contained in:
Gerald Pfeifer 2022-11-29 09:35:48 +00:00
parent c8bef09e14
commit 74cd06059c

View File

@ -30,12 +30,6 @@ APACHE_USE= apache_run=22+
FREERADIUS_RUN_DEPENDS= radiusd:net/freeradius
OPENRADIUS_RUN_DEPENDS= radiusd:net/openradius
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
CFLAGS+= -fnested-functions
.endif
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/chilli.conf ${STAGEDIR}${DATADIR}/chilli.conf.sample
@ -46,4 +40,4 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/pf.conf.sample ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${FILESDIR}/ipfw-config.sample ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>