diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-05 15:54:56 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-05 18:09:01 +0000 |
commit | 47e6a6d4599e94a8bdce1c42a911e16dbbcb1122 (patch) | |
tree | 0564cfa4de43f3d31bb6fbfb8bb73cdb800e542a | |
parent | 8589b1fa036880c84ceebcb9a93f5a3e0006054b (diff) | |
download | ports-47e6a6d4599e94a8bdce1c42a911e16dbbcb1122.tar.gz ports-47e6a6d4599e94a8bdce1c42a911e16dbbcb1122.zip |
archivers/xpk: Fix build with llvm15
- Pet portclippy
- Adopt port
-rw-r--r-- | archivers/xpk/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/archivers/xpk/Makefile b/archivers/xpk/Makefile index f516104b2f62..d4c8987db267 100644 --- a/archivers/xpk/Makefile +++ b/archivers/xpk/Makefile @@ -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> |