diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 19:41:24 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 20:02:30 +0000 |
commit | be754589e80dba8662ea9b5b2eff49cd50ba4e6a (patch) | |
tree | 0f925d174d27ce291b625fddc71834b89fc08361 | |
parent | 80c7427bbf53fa887189f413bdb6646954fa7cbc (diff) | |
download | ports-be754589e80dba8662ea9b5b2eff49cd50ba4e6a.tar.gz ports-be754589e80dba8662ea9b5b2eff49cd50ba4e6a.zip |
science/paje: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | science/paje/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/science/paje/Makefile b/science/paje/Makefile index 12bf6bd6e9f0..5ebcc0992671 100644 --- a/science/paje/Makefile +++ b/science/paje/Makefile @@ -17,6 +17,12 @@ USE_GNUSTEP= gui base back build WRKSRC= ${WRKDIR}/${DISTNAME} +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: ${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \ ${WRKSRC}/GNUmakefile |