diff mate/mate-settings-daemon/mate-settings-daemon.sh @ 739:4073582a2911

vanilla: consolidate options
author David Demelier <markand@malikania.fr>
date Tue, 06 Aug 2019 17:25:09 +0200
parents 25cecc6dca48
children 59a2fa6992bc
line wrap: on
line diff
--- a/mate/mate-settings-daemon/mate-settings-daemon.sh	Tue Aug 06 20:36:00 2019 +0200
+++ b/mate/mate-settings-daemon/mate-settings-daemon.sh	Tue Aug 06 17:25:09 2019 +0200
@@ -31,7 +31,7 @@
             x11/libxext
             x11/libxi
             x11/libxxf86misc"
-PKGOPTIONS="AUDIO POLICYKIT PULSEAUDIO"
+PKGOPTIONS="AUDIO POLKIT PULSEAUDIO"
 
 : ${CHOST:=$(uname -m)-linux-musl}
 : ${CBUILD:=$(uname -m)-linux-musl}
@@ -40,7 +40,7 @@
 : ${LDFLAGS:=}
 : ${LIBS:=}
 : ${AUDIO:=yes}
-: ${POLICYKIT:=yes}
+: ${POLKIT:=yes}
 
 if [ "$AUDIO" = "yes" ]; then
 	PKGDEPENDS="mate/libmatemixer $PKGDEPENDS"
@@ -49,11 +49,11 @@
 	with_audio="--without-libmatemixer"
 fi
 
-if [ "$POLICYKIT" = "yes" ]; then
+if [ "$POLKIT" = "yes" ]; then
 	PKGDEPENDS="security/polkit $PKGDEPENDS"
-	with_policykit="--enable-polkit"
+	with_polkit="--enable-polkit"
 else
-	with_policykit="--disable-polkit"
+	with_polkit="--disable-polkit"
 fi
 
 if [ "$PULSEAUDIO" = "yes" ]; then
@@ -81,7 +81,7 @@
 		--disable-static \
 		--enable-shared \
 		$with_audio \
-		$with_policykit \
+		$with_polkit \
 		$with_pulseaudio
 	make
 	make install DESTDIR=$DESTDIR