Mercurial > vanilla
diff x11/xclock/xclock.sh @ 904:25a95c53d800
vanilla: rename FREETYPE to TTF, closes #2202
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 20:20:00 +0200 |
parents | a133976e0783 |
children | ddab65a5b3f5 |
line wrap: on
line diff
--- a/x11/xclock/xclock.sh Mon Aug 26 20:45:00 2019 +0200 +++ b/x11/xclock/xclock.sh Mon Aug 26 20:20:00 2019 +0200 @@ -26,7 +26,7 @@ libxaw util-macros:build xorgproto:build" -PKGOPTIONS="FREETYPE" +PKGOPTIONS="TTF" : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} @@ -34,13 +34,13 @@ : ${CFLAGS:=-O2} : ${LDFLAGS:=} : ${LIBS:=} -: ${FREETYPE:=yes} +: ${TTF:=yes} -if [ "$FREETYPE" = "yes" ]; then +if [ "$TTF" = "yes" ]; then PKGDEPENDS="libxft $PKGDEPENDS" - with_freetype="--with-xft" + with_ttf="--with-xft" else - with_freetype="--without-xft" + with_ttf="--without-xft" fi build() @@ -57,7 +57,7 @@ --build=$CBUILD \ --host=$CHOST \ --prefix= \ - $with_freetype + $with_ttf make make install DESTDIR=$DESTDIR