Subject: CVS commit: pkgsrc
From: Leonardo Taccari
Date: 2019-06-08 21:51:38
Message id: 20190608195138.ADE8FFBF4@cvs.NetBSD.org

Log Message:
librsvg: Add available.mk and tool.mk mk fragments

Rename LIBRSVG_USE_RUST to LIBRSVG_TYPE.

Isolate the LIBRSVG_TYPE logic in available.mk mk fragments in
order that can be used by other librsvg mk (e.g. tool.mk) or by
other package to check the preferred librsvg implementation to be
used. (e.g. devel/pango, fonts/harfbuzz and misc/libreoffice).

Add a tool.mk mk fragment in order to be able to specify librsvg
as a tool dependency honoring user's LIBRSVG_TYPE.
Thanks to <wiz> for suggesting that!

Discussed on tech-pkg@:

 <https://mail-index.NetBSD.org/tech-pkg/2019/06/05/msg021393.html>

Files:
RevisionActionfile
1.49modifypkgsrc/graphics/librsvg/buildlink3.mk
1.1addpkgsrc/graphics/librsvg/available.mk
1.1addpkgsrc/graphics/librsvg/tool.mk