diff options
author | Eric Hameleers <alien@slackware.com> | 2008-06-16 13:29:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-06-16 13:29:25 +0000 |
commit | 27f88869e280cbb6fdb6cfe562afd1bc77bd4f48 (patch) | |
tree | f81bd728d5c39a62d05a63931cce3cac948c8c53 /yasm | |
parent | 46260fd138c1f86a523b1011ec92907ff2ff6be7 (diff) | |
download | asb-27f88869e280cbb6fdb6cfe562afd1bc77bd4f48.tar.gz asb-27f88869e280cbb6fdb6cfe562afd1bc77bd4f48.tar.xz |
Enable python bindings by default
Diffstat (limited to 'yasm')
-rwxr-xr-x | yasm/build/yasm.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
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 ... |