git: b331d84cb955 - main - graphics/py-pyvips: Clean up Makefile

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 04:08:35 UTC
The branch main has been updated by sunpoet:

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

commit b331d84cb955c57ae02091f1fa6dbe44b7b87c09
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 04:00:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 04:00:12 +0000

    graphics/py-pyvips: Clean up Makefile
    
    - Remove outdated OSVERSION check
    
    Tested on:      13.3-RELEASE (Clang 17)
---
 graphics/py-pyvips/Makefile | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/graphics/py-pyvips/Makefile b/graphics/py-pyvips/Makefile
index 670dc52b08e5..d6eba9540fbc 100644
--- a/graphics/py-pyvips/Makefile
+++ b/graphics/py-pyvips/Makefile
@@ -24,12 +24,6 @@ USES=		gnome python
 USE_GNOME=	glib20
 USE_PYTHON=	autoplist concurrent pep517
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000) || ${OSVERSION} >= 1400091)
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
-
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +