pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/bulk-medium bulk-medium: Honor LIBRSVG_TYPE



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f18ba49e09b
branches:  trunk
changeset: 334903:0f18ba49e09b
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jun 08 20:04:23 2019 +0000

description:
bulk-medium: Honor LIBRSVG_TYPE

diffstat:

 meta-pkgs/bulk-medium/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c686d2790af7 -r 0f18ba49e09b meta-pkgs/bulk-medium/Makefile
--- a/meta-pkgs/bulk-medium/Makefile    Sat Jun 08 20:01:58 2019 +0000
+++ b/meta-pkgs/bulk-medium/Makefile    Sat Jun 08 20:04:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2019/05/18 08:37:10 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2019/06/08 20:04:23 leot Exp $
 
 DISTNAME=      bulk-medium-20190518
 CATEGORIES=    meta-pkgs
@@ -174,7 +174,12 @@
 BUILD_DEPENDS+=        jasper-[0-9]*:../../graphics/jasper
 BUILD_DEPENDS+=        lcms-[0-9]*:../../graphics/lcms
 BUILD_DEPENDS+=        lcms2-[0-9]*:../../graphics/lcms2
+.include "../../graphics/librsvg/available.mk"
+.if ${LIBRSVG_TYPE} == "rust"
 BUILD_DEPENDS+=        librsvg-[0-9]*:../../graphics/librsvg
+.else
+BUILD_DEPENDS+=        librsvg-[0-9]*:../../graphics/librsvg-c
+.endif
 BUILD_DEPENDS+=        blas-[0-9]*:../../math/blas
 BUILD_DEPENDS+=        lapack-[0-9]*:../../math/lapack
 BUILD_DEPENDS+=        boost-[0-9]*:../../meta-pkgs/boost



Home | Main Index | Thread Index | Old Index