git: 05521d69f7c0 - main - devel/wrangler: Unbreak 32 bit archs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Nov 2022 16:42:29 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=05521d69f7c064f9d0c26c9532b6151b907abf82 commit 05521d69f7c064f9d0c26c9532b6151b907abf82 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-11-13 16:40:39 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-11-13 16:42:18 +0000 devel/wrangler: Unbreak 32 bit archs PR: 267471 Approved by: maintainer timeout, 2 weeks MFH: 2022Q4 --- devel/wrangler/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/devel/wrangler/Makefile b/devel/wrangler/Makefile index ec7c6a745458..22a5dfd77a6b 100644 --- a/devel/wrangler/Makefile +++ b/devel/wrangler/Makefile @@ -1,7 +1,7 @@ PORTNAME= wrangler DISTVERSIONPREFIX= v DISTVERSION= 1.19.12 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MAINTAINER= antranigv@freebsd.am @@ -13,8 +13,6 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT -BROKEN_i386= fails to build: error occurred: Command "cc" ... with args "cc" did not execute successfully (status code exit status: 1) - LIB_DEPENDS= libcurl.so:ftp/curl USES= cargo gmake ssl @@ -29,6 +27,13 @@ PORTDOCS= CHANGELOG.md README.md OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS +# sys-info-0.9.1 crate fix: https://github.com/FillZpp/sys-info-rs/issues/80 +post-patch: + @${REINPLACE_CMD} \ + -e '/get_cpu/s|unsigned long|uint64_t|' \ + -e '/get_proc_total/s|unsigned long|uint64_t|' \ + ${WRKSRC}/cargo-crates/sys-info-0.9.1/c/*.[ch] + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}