Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2023 13:52:52 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: 65331804fb17 - main - net/tn5250: Unbreak on HEAD
Message-ID:  <202305021352.342Dqqmi022825@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=65331804fb1722d621a1f57bccdc698967fef18f

commit 65331804fb1722d621a1f57bccdc698967fef18f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 13:49:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 13:52:37 +0000

    net/tn5250: Unbreak on HEAD
    
    - Add LICENSE LGPL21
    - Pet portclippy
    - Adopt port
---
 net/tn5250/Makefile | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index 3de76222d21c..ea39e5adbe2a 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -4,20 +4,31 @@ PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	5250 Telnet protocol and Terminal
 WWW=		http://tn5250.sourceforge.net/
 
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		libtool ncurses ssl
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-os-dir=no --with-ssl=${OPENSSLBASE}
-USE_LDCONFIG=	yes
+
 INSTALL_TARGET=	install-strip
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=       -Wno-error=int-conversion
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^SUBDIRS =/s|linux||g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		's|: install-data-local|:|g' ${WRKSRC}/freebsd/Makefile.in
 
-.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.342Dqqmi022825>