git: bf0a18c2c96a - main - devel/tla: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 02 May 2023 11:38:45 UTC
The branch main has been updated by bofh:

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

commit bf0a18c2c96a3669a4145639da03da8928079034
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 10:50:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 11:38:33 +0000

    devel/tla: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 devel/tla/Makefile | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/devel/tla/Makefile b/devel/tla/Makefile
index 93e298649e43..7a093e9db138 100644
--- a/devel/tla/Makefile
+++ b/devel/tla/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	devel
 MASTER_SITES=	GNU/gnu-arch \
 		http://www.atai.org/gnuarch/releases/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Original arch source control management CLI written in C
 WWW=		https://www.gnu.org/software/gnu-arch/
 
@@ -17,10 +17,8 @@ BUILD_DEPENDS=	gpatch:devel/patch \
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		gmake pkgconfig ssl
-HAS_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=	yes
-TEST_TARGET=	test
 
+HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	../configure
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--with-gnu-patch gpatch \
@@ -29,12 +27,22 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--with-gnu-tar gtar
 CONFIGURE_ENV=	ne_cv_libsfor_SSL_library_init=yes
 
-ORIGWRKSRC=	${WRKDIR}/${DISTNAME}/src
+MAKE_JOBS_UNSAFE=	yes
+TEST_TARGET=	test
+
 PATCH_WRKSRC=	${ORIGWRKSRC}/..
 WRKSRC=		${ORIGWRKSRC}/=build
 
 OPTIONS_DEFINE=	DOCS
 
+ORIGWRKSRC=	${WRKDIR}/${DISTNAME}/src
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CPPFLAGS+=       -Wno-error=int-conversion
+.endif
+
 pre-install:
 	${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \
 		${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
@@ -48,4 +56,4 @@ do-install:
 	cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \
 		${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>