git: 986fc4ceac7a - main - devel/libplist: Remove special casing old compilers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 18:56:10 UTC
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=986fc4ceac7abeecc31c256670ffc2f3a73c2caa
commit 986fc4ceac7abeecc31c256670ffc2f3a73c2caa
Author: Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2023-09-22 18:54:39 +0000
Commit: Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2023-09-22 18:54:39 +0000
devel/libplist: Remove special casing old compilers
We no longer support the GCC 4.2 system compiler nor GCC 4.x in
general as part of the Ports infrastructure (except GCC 4.8 for
sysutils/uefi-edk2-bhyve-csm). GCC 4.4 in particular went end of
life 11 years ago.
Approved by: jhale (maintainer)
---
devel/libplist/Makefile | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/devel/libplist/Makefile b/devel/libplist/Makefile
index cc38e39af168..67177033dae4 100644
--- a/devel/libplist/Makefile
+++ b/devel/libplist/Makefile
@@ -34,12 +34,4 @@ post-install:
.endif # ${SLAVE_PORT} == no
-.include <bsd.port.pre.mk>
-
-pre-build:
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 45
- @${REINPLACE_CMD} -e '/__attribute__/ s,deprecated(x),deprecated(),' \
- ${WRKSRC}/include/plist/plist.h
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>