Mercurial > vanilla
diff xfce/xfce4-session/xfce4-session.sh @ 721:034a2a62a9f8
vanilla: consolidate options with lint-options.sh
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 05 Aug 2019 13:19:31 +0200 |
parents | b0fd9c97761e |
children | e693904f5e20 |
line wrap: on
line diff
--- a/xfce/xfce4-session/xfce4-session.sh Mon Aug 05 12:41:20 2019 +0200 +++ b/xfce/xfce4-session/xfce4-session.sh Mon Aug 05 13:19:31 2019 +0200 @@ -32,21 +32,21 @@ xfce/libxfce4ui xfce/libxfce4util xfce/xfconf" -PKGOPTIONS="POLICYKIT UPOWER" +PKGOPTIONS="POLKIT UPOWER" : ${CC:=clang} : ${CFLAGS:=-O2} : ${LDFLAGS:=} : ${LIBS:=} -: ${POLICYKIT:=yes} +: ${POLKIT:=yes} : ${UPOWER:=yes} -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 [ "$UPOWER" = "yes" ]; then @@ -70,7 +70,7 @@ --prefix= \ --localedir=/share/locale \ --with-locales-dir=/share/locale \ - $with_policykit \ + $with_polkit \ $with_upower make make install DESTDIR=$DESTDIR itlocaledir=/share/locale