git: 8690d2d27c7d - main - deskutils/growl-for-linux: Drop special casing of GCC 4.2

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sat, 17 Dec 2022 21:25:42 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8690d2d27c7d41f2039c7d643a0e68059f406085

commit 8690d2d27c7d41f2039c7d643a0e68059f406085
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-12-17 21:23:52 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-12-17 21:25:18 +0000

    deskutils/growl-for-linux: Drop special casing of GCC 4.2
    
    Remove code specific to GCC 4.2 (as system compiler) which is not
    necessary any longer: USES=compiler never pulls that in any more.
    
    This reverts most of commits 401f96f227521c4527ea9c3887b10fb4bd7ff24b
    and 92e22122e819280ea0c18de3ddd7a8b8a25a3ead from 2018/2019.
    
    Approved by:    nivit (maintainer)
---
 deskutils/growl-for-linux/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile
index 8ba266d664d2..5904157d1da2 100644
--- a/deskutils/growl-for-linux/Makefile
+++ b/deskutils/growl-for-linux/Makefile
@@ -40,12 +40,6 @@ USE_GNOME=	cairo gdkpixbuf2 gtk20 libxml2
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}/display \
 		${PREFIX}/lib/${PORTNAME}/subscribe
 
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-CFLAGS+=	-fnested-functions
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \
 		${WRKSRC}/Makefile.am
@@ -53,4 +47,4 @@ post-patch:
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>