git: 574f018d67cb - main - deskutils/xneur: Drop special casing of GCC 4.2

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Tue, 20 Dec 2022 12:57:22 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=574f018d67cbe016c96184f01b56d3ffa4f31ff7

commit 574f018d67cbe016c96184f01b56d3ffa4f31ff7
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-12-20 12:56:40 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-12-20 12:57:07 +0000

    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
---
 deskutils/xneur/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 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>