git: 1a3dc2eaea12 - main - x11-toolkit/tix: Fix build on current
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Jul 2023 11:53:05 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a3dc2eaea12c2cbfb1cd911c8c40b55e88a2955 commit 1a3dc2eaea12c2cbfb1cd911c8c40b55e88a2955 Author: Daniel O'Connor <darius@dons.net.au> AuthorDate: 2023-07-17 07:12:02 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-07-17 11:52:44 +0000 x11-toolkit/tix: Fix build on current While here pet linters. PR: 272515 Reported by: darius@dons.net.au (maintainer) --- x11-toolkits/tix/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/x11-toolkits/tix/Makefile b/x11-toolkits/tix/Makefile index bd20640dba17..236788c1d526 100644 --- a/x11-toolkits/tix/Makefile +++ b/x11-toolkits/tix/Makefile @@ -9,9 +9,10 @@ MAINTAINER= doconnor@gsoft.com.au COMMENT= Extension to the Tk toolkit WWW= http://tix.sourceforge.net/ -WRKSRC= ${WRKDIR}/Tix${DISTVERSION} -USE_LDCONFIG= yes USES= tk:tea +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/Tix${DISTVERSION} TIX_LIB= libTix${PORTVERSION}.so TIX_LIB_FILE= ${TIX_LIB}.0 @@ -45,4 +46,10 @@ post-install: ${LN} -sf ${PREFIX}/include/tix/generic/tix.h ${STAGEDIR}${PREFIX}/include/tix.h ${RMDIR} ${STAGEDIR}${PREFIX}/lib/Tix${PORTVERSION}/html -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + +.include <bsd.port.post.mk>