git: f5013005a4d0 - main - x11/libsx: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 06 May 2023 14:39:16 UTC
The branch main has been updated by bofh:

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

commit f5013005a4d083666f240a55314eb39c9bdac927
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-06 13:41:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-06 14:39:02 +0000

    x11/libsx: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 x11/libsx/Makefile | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/x11/libsx/Makefile b/x11/libsx/Makefile
index 8ce8a15d3c4e..e62de199e1e9 100644
--- a/x11/libsx/Makefile
+++ b/x11/libsx/Makefile
@@ -5,18 +5,25 @@ CATEGORIES=	x11
 MASTER_SITES=	XCONTRIB/libraries
 DISTNAME=	${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Simple X11 library
 
 LIB_DEPENDS=	libXaw3d.so:x11-toolkits/Xaw3d
 
 USES=		tar:Z xorg
 USE_XORG=	x11 xaw xext xmu xt
-ALL_TARGET=	src freq
+
 MAKE_JOBS_UNSAFE=	yes
+ALL_TARGET=	src freq
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=       -Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/src/libsx.a  ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a  ${STAGEDIR}${PREFIX}/lib
@@ -29,4 +36,4 @@ do-install-DOCS-on:
 	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${PREFIX}/share/doc/libsx
 	${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/doc/libsx/*.doc
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>