Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2023 13:52:44 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1d7ec840bde1 - main - net/pichi: Unbreak on HEAD
Message-ID:  <202305021352.342DqiOT022669@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 1d7ec840bde1c02d75328f0e7ce93b54e7ba6312
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 13:02:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 13:52:34 +0000

    net/pichi: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 net/pichi/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net/pichi/Makefile b/net/pichi/Makefile
index 1082644264d7..bb4a70029fb2 100644
--- a/net/pichi/Makefile
+++ b/net/pichi/Makefile
@@ -77,6 +77,12 @@ USES+=		ssl
 .endif
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=unqualified-std-cast-call
+.endif
+
 post-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/test/geo.mmdb ${STAGEDIR}${ETCDIR}/geo.mmdb
@@ -86,4 +92,4 @@ post-install-DEVEL-on:
 	${MKDIR} ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/include/pichi.h ${STAGEDIR}${PREFIX}/include/pichi.h
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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