From 27f88869e280cbb6fdb6cfe562afd1bc77bd4f48 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 16 Jun 2008 13:29:25 +0000 Subject: Enable python bindings by default --- yasm/build/yasm.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'yasm/build/yasm.SlackBuild') diff --git a/yasm/build/yasm.SlackBuild b/yasm/build/yasm.SlackBuild index df59901a..766e2311 100755 --- a/yasm/build/yasm.SlackBuild +++ b/yasm/build/yasm.SlackBuild @@ -49,9 +49,9 @@ TAG=${TAG:-alien} DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING GNU_* NEWS README *.txt" -# If you want to enable python bindings, set ENABLE_PYTHON to "YES". -# It will fail on Slackware 12.0 btw (missing Pyrex). -ENABLE_PYTHON=${ENABLE_PYTHON:-"NO"} +# If you want to disable python bindings, set ENABLE_PYTHON to "NO". +# Building python support on Slackware 12.0 and older will fail (missing Pyrex). +ENABLE_PYTHON=${ENABLE_PYTHON:-"YES"} # Where do we look for sources? SRCDIR=$(cd $(dirname $0); pwd) @@ -148,10 +148,10 @@ cd ${PRGNAM}-${VERSION} chown -R root:root . chmod -R u+w,go+r-w,a-s . -if [ "$ENABLE_PYTHON" = "NO" ]; then - PYTHONSTUFF="" -else +if [ "$ENABLE_PYTHON" = "YES" ]; then PYTHONSTUFF="--enable-python --enable-python-bindings" +else + PYTHONSTUFF="" fi echo Building ... -- cgit v1.2.3-65-gdbad