git: 74cd06059c53 - main - net-mgmt/chillispot: Omit special GCC 4.2 handling

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Tue, 29 Nov 2022 09:46:12 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74cd06059c5318469ff25ee3836f8b0c1ecfdbf4

commit 74cd06059c5318469ff25ee3836f8b0c1ecfdbf4
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-11-29 09:35:48 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-11-29 09:37:36 +0000

    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 92e22122e819280ea0c18de3ddd7a8b8a25a3ead (and
    part of 24b49f43d56fb1138da51ee1bcd08a7f6278b61f) from 3+ years ago.
    
    Approved by:    maintainer (Sevan Janiyan <venture37@geeklan.co.uk>)
---
 net-mgmt/chillispot/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/net-mgmt/chillispot/Makefile b/net-mgmt/chillispot/Makefile
index 2888a34ba55b..4959bd660603 100644
--- a/net-mgmt/chillispot/Makefile
+++ b/net-mgmt/chillispot/Makefile
@@ -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>