Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 11:53:05 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a3dc2eaea12 - main - x11-toolkit/tix: Fix build on current
Message-ID:  <202307171153.36HBr5wv098393@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307171153.36HBr5wv098393>