archivers/xpk: Fix build with llvm15

- Pet portclippy
- Adopt port
This commit is contained in:
Muhammad Moinur Rahman
2023-06-05 17:54:56 +02:00
parent 8589b1fa03
commit 47e6a6d459
+10 -3
View File
@@ -5,7 +5,7 @@ CATEGORIES= archivers
MASTER_SITES= http://vesuri.jormas.com/xpk/ \
http://www.energyhq.es.eu.org/files/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= The eXternal PacKer (XPK) library system
WWW= http://www.jormas.com/~vesuri/xpk/
@@ -13,10 +13,17 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxpk*.so
.include <bsd.port.mk>
.include <bsd.port.post.mk>