Skip to content

Commit

Permalink
net-mgmt/chillispot: Omit special GCC 4.2 handling
Browse files Browse the repository at this point in the history
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 92e2212 (and
part of 24b49f4) from 3+ years ago.

Approved by:	maintainer (Sevan Janiyan <venture37@geeklan.co.uk>)
  • Loading branch information
Gerald Pfeifer authored and Gerald Pfeifer committed Nov 29, 2022
1 parent c8bef09 commit 74cd060
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions net-mgmt/chillispot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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>

0 comments on commit 74cd060

Please sign in to comment.