diff --git a/devel/cargo-c/Makefile b/devel/cargo-c/Makefile index bbc6a7da7d18..77c9eee06977 100644 --- a/devel/cargo-c/Makefile +++ b/devel/cargo-c/Makefile @@ -1,35 +1,32 @@ PORTNAME= cargo-c DISTVERSION= 0.9.14 DISTVERSIONSUFFIX= +cargo-0.66 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= CRATESIO # XXX Teach USES=cargo to have proper default DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT} MAINTAINER= jbeich@FreeBSD.org COMMENT= Cargo C-ABI helpers WWW= https://github.com/lu-zero/cargo-c LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libcurl.so:ftp/curl +LIB_DEPENDS= libgit2.so:devel/libgit2 \ + libcurl.so:ftp/curl \ + libssh2.so:security/libssh2 USES= cargo ssl PLIST_FILES= bin/cargo-capi \ bin/cargo-cbuild \ bin/cargo-cinstall \ bin/cargo-ctest \ ${NULL} post-patch: @${REINPLACE_CMD} -e 's,libdir.join("pkgconfig,prefix.join("libdata/pkgconfig,' \ ${WRKSRC}/src/install.rs -# XXX Need devel/libgit2 >= 1.4.4; libgit2 depends on libssh2, so bundle both - @${REINPLACE_CMD} 's/if try_to_use_system_libgit2/if false/' \ - ${WRKSRC}/cargo-crates/libgit2-sys-*/build.rs - @${REINPLACE_CMD} '/env::var/s/LIBSSH2.*PKG/disabled_&/' \ - ${WRKSRC}/cargo-crates/libssh2-sys-*/build.rs .include