From f4e87ba3fd4596c93f8e031f6cb736b1e2b39a88 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 3 Mar 2017 18:40:43 +0000 Subject: [PATCH] NetworkManager: fix x86_64-musl build --- srcpkgs/NetworkManager/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index dc3756f5456..976861fcc2f 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -29,7 +29,8 @@ hostmakedepends=" $(vopt_if gir gobject-introspection)" makedepends="libuuid-devel gnutls-devel dbus-glib-devel libgudev-devel libnl3-devel polkit-devel ppp-devel iptables-devel libsoup-devel - ModemManager-devel readline-devel libndp-devel newt-devel" + ModemManager-devel readline-devel libndp-devel newt-devel + $(vopt_if gir libgirepository-devel)" lib32disabled=yes depends="dbus iproute2 dhclient wpa_supplicant openresolv" @@ -40,7 +41,7 @@ make_dirs=" /etc/NetworkManager/dispatcher.d/pre-down.d 0750 root root " case "$XBPS_TARGET_MACHINE" in -*-musl) CFLAGS+="-DHAVE_SECURE_GETENV -Dsecure_getenv=getenv -D__USE_POSIX199309" +*-musl) CFLAGS+=" -DHAVE_SECURE_GETENV -Dsecure_getenv=getenv -D__USE_POSIX199309" ;; esac