git: 423dc091d5bf - main - audio/grip: No longer cater to GCC 4.2

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sat, 05 Nov 2022 23:17:30 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=423dc091d5bf4ac5ee47397959538fb84b301d7c

commit 423dc091d5bf4ac5ee47397959538fb84b301d7c
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-11-05 23:16:40 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-11-05 23:17:19 +0000

    audio/grip: No longer cater to GCC 4.2
    
    Remove code catering to GCC 4.2 (as system compiler) which is not
    necessary any longer sincer USES=compiler and USE_GCC never will
    pull that in any more.
    
    This reverts much of commit 2d32b6c73c040e43af60ab5c05912e333704cea
    from 3+ years ago.
    
    Approved by:    maintainer
---
 audio/grip/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/audio/grip/Makefile b/audio/grip/Makefile
index 6f7fb3d4fa3e..c6b6ade0ee30 100644
--- a/audio/grip/Makefile
+++ b/audio/grip/Makefile
@@ -49,8 +49,6 @@ DEFAULT_CDROM_DEVICE=	${WITH_CDROM_DEVICE}
 DEFAULT_CDROM_DEVICE=	/dev/cd0
 .endif
 
-.include <bsd.port.pre.mk>
-
 pre-everything::
 .if !defined(WITH_CDROM_DEVICE)
 	@${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}"
@@ -61,8 +59,5 @@ pre-everything::
 post-patch:
 	@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
 		${WRKSRC}/src/grip.c
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-	${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/cdpar.c
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>