summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2022-12-20 12:56:40 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2022-12-20 12:57:07 +0000
commit574f018d67cbe016c96184f01b56d3ffa4f31ff7 (patch)
tree2f57e9603eb79dad287e115c8c950c64c0a3c392
parentdevel/gopls: Update to 0.11.0 (diff)
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 44b3b1b9153cc7accda4276b7992c1c9ed55733e from 2020. Approved by: maintainer
-rw-r--r--deskutils/xneur/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/deskutils/xneur/Makefile b/deskutils/xneur/Makefile
index 8256efcadf33..5778ccb58f16 100644
--- a/deskutils/xneur/Makefile
+++ b/deskutils/xneur/Makefile
@@ -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>