pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/imv



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul  9 18:33:36 UTC 2021

Modified Files:
        pkgsrc/graphics/imv: options.mk

Log Message:
imv: svg support doesn't work with librsvg-c


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/imv/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/imv/options.mk
diff -u pkgsrc/graphics/imv/options.mk:1.3 pkgsrc/graphics/imv/options.mk:1.4
--- pkgsrc/graphics/imv/options.mk:1.3  Wed Feb  3 10:43:42 2021
+++ pkgsrc/graphics/imv/options.mk      Fri Jul  9 18:33:36 2021
@@ -1,16 +1,21 @@
-# $NetBSD: options.mk,v 1.3 2021/02/03 10:43:42 nia Exp $
+# $NetBSD: options.mk,v 1.4 2021/07/09 18:33:36 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.imv
-PKG_SUPPORTED_OPTIONS=         svg
 
 PKG_OPTIONS_NONEMPTY_SETS=     display
 PKG_OPTIONS_SET.display=       wayland x11
 
 .include "../../devel/wayland/platform.mk"
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
-PKG_SUGGESTED_OPTIONS= svg wayland x11
+.if ${PLATFORM_SUPPORTS_WAYLAND:tl} == "yes"
+PKG_SUGGESTED_OPTIONS= wayland x11
 .else
-PKG_SUGGESTED_OPTIONS= svg x11
+PKG_SUGGESTED_OPTIONS= x11
+.endif
+
+.include "../../graphics/librsvg/available.mk"
+.if ${LIBRSVG_TYPE:tl} == "rust"
+PKG_SUPPORTED_OPTIONS+=        svg
+PKG_SUGGESTED_OPTIONS+=        svg
 .endif
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index