Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 15:39:08 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: 74ac6153b61b - main - net/py-smbpasswd: Fix build on llvm15
Message-ID:  <202306031539.353Fd8vs071688@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=74ac6153b61beabb5ef443287e52fe3e12879e6f

commit 74ac6153b61beabb5ef443287e52fe3e12879e6f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 15:05:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 15:38:53 +0000

    net/py-smbpasswd: Fix build on llvm15
    
    - Pet portclippy
    - Adopt port
---
 net/py-smbpasswd/Makefile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net/py-smbpasswd/Makefile b/net/py-smbpasswd/Makefile
index 2c56a531d8a0..4c1bf8132bbc 100644
--- a/net/py-smbpasswd/Makefile
+++ b/net/py-smbpasswd/Makefile
@@ -2,11 +2,10 @@ PORTNAME=	smbpasswd
 PORTVERSION=	1.0.2
 PORTREVISION=	1
 CATEGORIES=	net python
-MASTER_SITES=	http://barryp.org/static/media/software/download/py-${PORTNAME}/${PORTVERSION}/ \
-		PYPI
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	SMB/CIFS password generation utility for Python
 WWW=		https://barryp.org/software/py-smbpasswd
 
@@ -16,4 +15,10 @@ LICENSE=	GPLv2
 USES=		python:3.6+ tar:tgz
 USE_PYTHON=	autoplist distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>



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