pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/gdk-pixbuf2
Module Name: pkgsrc
Committed By: nia
Date: Sat Oct 26 07:35:54 UTC 2024
Modified Files:
pkgsrc/graphics/gdk-pixbuf2: options.mk
Log Message:
gdk-pixbuf2: Make tests optional.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/gdk-pixbuf2/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/gdk-pixbuf2/options.mk
diff -u pkgsrc/graphics/gdk-pixbuf2/options.mk:1.1 pkgsrc/graphics/gdk-pixbuf2/options.mk:1.2
--- pkgsrc/graphics/gdk-pixbuf2/options.mk:1.1 Fri Apr 12 19:41:39 2024
+++ pkgsrc/graphics/gdk-pixbuf2/options.mk Sat Oct 26 07:35:54 2024
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2024/04/12 19:41:39 riastradh Exp $
+# $NetBSD: options.mk,v 1.2 2024/10/26 07:35:54 nia Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.gdk-pixbuf2
-PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUPPORTED_OPTIONS= introspection tests
PKG_SUGGESTED_OPTIONS= ${${USE_CROSS_COMPILE:tl} == "yes":?:introspection}
.include "../../mk/bsd.options.mk"
@@ -16,3 +16,10 @@ BUILDLINK_DEPMETHOD.gobject-introspectio
.else
MESON_ARGS+= -Dintrospection=disabled
.endif
+
+.if !empty(PKG_OPTIONS:Mtests)
+MESON_ARGS+= -Dtests=true
+MESON_ARGS+= -Dinstalled_tests=false
+.else
+MESON_ARGS+= -Dtests=false
+.endif
Home |
Main Index |
Thread Index |
Old Index