Skip to content

Commit

Permalink
net/py-smbpasswd: Fix build on llvm15
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port
  • Loading branch information
5u623l20 committed Jun 3, 2023
1 parent 07f25c9 commit 74ac615
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions net/py-smbpasswd/Makefile
Expand Up @@ -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

Expand All @@ -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>

0 comments on commit 74ac615

Please sign in to comment.