svn commit: r496985 - in head: deskutils/basket devel/geany-plugin-git-changebar devel/gitg devel/gnome-builder devel/kf5-ktexteditor editors/gedit-plugins editors/jucipp editors/kate lang/julia la...

Matthias Fechner mfechner at freebsd.org
Thu Mar 28 06:59:33 UTC 2019


Hi Jan,

Am 27.03.2019 um 22:52 schrieb Jan Beich:
> Did you miss the following USES=cargo ports?
>
>   devel/git-absorb
>   devel/interactive_rebase_tool
>   security/cargo-audit
>   sysutils/exa
>   textproc/bat

I excluded them, as they do not have a LIB_DEPENDS, but now I see that
in cargo.mk the following is added:
.if ${CARGO_CRATES:Mlibgit2-sys-[0-9]*}
# Use the system's libgit2 instead of building the bundled version
CARGO_ENV+=     LIBGIT2_SYS_USE_PKG_CONFIG=1
LIB_DEPENDS+=   libgit2.so:devel/libgit2
.endif

I just added them to my testbuild and if the testbuild is fine, I will
commit this.
Thanks a lot for the pointer!


> Running the following may help
>
>   $ pkg rquery '%o %B' | awk '/libgit2/ { print $1 }' | sort -u
>
> but assumes consumers built fine (i.e., not skipped/broken) and
> libgit2 dependency isn't hidden behind a non-default port option.

this only works on installed ports it seems.
For me it returns only:
devel/libgit2
devel/rubygem-rugged

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20190328/c6ceb5f4/attachment.sig>


More information about the svn-ports-head mailing list