From 460ddb33d353b4d6430f38a82eb1c6a09ee80b3a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 6 Mar 2011 16:51:26 +0700 Subject: [PATCH] obsolete --- e/emacs/emacs.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/e/emacs/emacs.SlackBuild b/e/emacs/emacs.SlackBuild index 85d9fd39..56a11e37 100755 --- a/e/emacs/emacs.SlackBuild +++ b/e/emacs/emacs.SlackBuild @@ -27,7 +27,7 @@ # Modified by Patrick Volkerding # Modified by Gwenhael Le Moine -ONLY_X11=${ONLY_X11:=1} +ONLY_X11=${ONLY_X11:=YES} PRGNAM=emacs BRANCH=${BRANCH:=trunk} @@ -96,8 +96,6 @@ $SRCDIR/configure \ --program-suffix="" \ --mandir=/usr/man \ --infodir=/usr/info \ - --enable-static=no \ - --enable-shared=yes \ --with-x \ --with-x-toolkit=gtk \ --without-gconf \ @@ -120,7 +118,7 @@ EOF chmod +x $PKG/usr/bin/emacs ) -if [ $ONLY_X11 == 0 ] ; then +if [ ! "x$ONLY_X11" == "xYES" ] ; then # Also add a version of the binary that is not linked to X11: cd $TMP rm -rf $PRGNAM-$VERSION @@ -151,8 +149,6 @@ if [ $ONLY_X11 == 0 ] ; then --program-suffix="" \ --mandir=/usr/man \ --infodir=/usr/info \ - --enable-static=no \ - --enable-shared=yes \ --with-x=no \ --without-gconf \ --build=${ARCH}-slackware-linux