Mon Dec 12 09:22:54 2016 UTC ()
glib2: don't build with libmount on linux, avoids spurious dependency
on libmount-dev (not provided in pkgsrc, linux only)

no response from maintainer yet.
this package being broken on bulk builds leads to 3472 dependents being
broken, so commit anyway.

from mutek in PR pkg/51681


(maya)
diff -r1.52 -r1.53 pkgsrc/devel/glib2/Makefile.common

cvs diff -r1.52 -r1.53 pkgsrc/devel/glib2/Makefile.common (expand / switch to context diff)
--- pkgsrc/devel/glib2/Makefile.common 2016/11/25 12:42:21 1.52
+++ pkgsrc/devel/glib2/Makefile.common 2016/12/12 09:22:54 1.53
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.52 2016/11/25 12:42:21 prlw1 Exp $
+# $NetBSD: Makefile.common,v 1.53 2016/12/12 09:22:54 maya Exp $
 #
 # used by devel/glib2/Makefile
 # used by devel/gdbus-codegen/Makefile
@@ -37,6 +37,8 @@
 CONFIGURE_ARGS+=	--disable-modular-tests
 # Avoid unnecessary autotools invocation.
 CONFIGURE_ARGS+=	--disable-maintainer-mode
+# Avoid linux dependency on libmount-dev
+CONFIGURE_ARGS.Linux+=	--disable-libmount
 
 # When ICONV_TYPE=gnu ensure we explicitly use the GNU version, to avoid
 # conflicts between iconv.h from converters/libiconv and builtin libiconv