deskutils/xneur: Drop special casing of GCC 4.2

Remove code specifically added for GCC 4.2. USES=compiler:nestedfct
does not pull that in any longer.

This reverts most of commit 44b3b1b915
from 2020.

Approved by:	maintainer
This commit is contained in:
Gerald Pfeifer
2022-12-20 12:56:40 +00:00
parent 10bb9c0717
commit 574f018d67
+1 -7
View File
@@ -52,14 +52,8 @@ SOUND_USES= openal:al,alut
SOUND_CONFIGURE_ON= --with-sound=openal
SOUND_CONFIGURE_OFF= --with-sound=no
.include <bsd.port.pre.mk>
.if ${COMPILER_VERSION} == 42
CFLAGS+= -fnested-functions
.endif
post-patch:
@${REINPLACE_CMD} -e 's,-Werror,,g; s,-ldl,,g' ${WRKSRC}/configure
@${MV} ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.sample
.include <bsd.port.post.mk>
.include <bsd.port.mk>