Skip to content
Snippets Groups Projects
Commit 859eb5a6 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

science/gtamsanalyzer: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
parent a62cb1f6
No related branches found
No related tags found
Loading
......@@ -16,12 +16,16 @@ USE_GNUSTEP= back build
WRKSRC= ${WRKDIR}/${DISTNAME}/Source
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
${RM} "${WRKSRC}/obj"
@${REINPLACE_CMD} '/^GNUSTEP_INSTALLATION_DIR/ s|=|=$$(DESTDIR)|' \
......@@ -30,4 +34,4 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GTAMSAnalyzer.app/GTAMSAnalyzer
.include <bsd.port.post.mk>
.include <bsd.port.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment