git: 6f878dd92fa4 - main - audio/funktrackergold: gcc does not know the -fnested-functions flag

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Tue, 30 Aug 2022 08:26:49 UTC
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f878dd92fa47ced0082df11c282cd4761558961

commit 6f878dd92fa47ced0082df11c282cd4761558961
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2022-08-30 08:25:52 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2022-08-30 08:25:52 +0000

    audio/funktrackergold: gcc does not know the -fnested-functions flag
    
    Reported by:    pkg-fallout
---
 audio/funktrackergold/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile
index a2ae51dabb95..04738b47d123 100644
--- a/audio/funktrackergold/Makefile
+++ b/audio/funktrackergold/Makefile
@@ -23,12 +23,6 @@ PLIST_FILES=	bin/funkgold
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE:Mgcc}
-CFLAGS+=	-fnested-functions
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin
 
@@ -38,4 +32,4 @@ do-install-DOCS-on:
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>