summaryrefslogtreecommitdiffstats
path: root/source/n/samba/samba.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/samba/samba.SlackBuild')
-rwxr-xr-xsource/n/samba/samba.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/n/samba/samba.SlackBuild b/source/n/samba/samba.SlackBuild
index e90ef341f..88054ef89 100755
--- a/source/n/samba/samba.SlackBuild
+++ b/source/n/samba/samba.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=samba
VERSION=${VERSION:-$(echo samba-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -e $CWD/machine.conf ]; then
. $CWD/machine.conf ]
@@ -134,7 +134,6 @@ CFLAGS="$SLKCFLAGS" \
--with-ldap \
--with-ads \
--without-pam \
- --extra-python=/usr/bin/python2 \
--build=$TARGET || exit 1
# Gives errors:
#--builtin-libraries=replace,ccan \
@@ -151,7 +150,7 @@ export JOBS
# Make sure we don't have any library preloaded.
unset LD_PRELOAD
cd . || exit 1
-${PYTHON:=python} $WAF build "$@" || exit 1
+${PYTHON:=python3} $WAF build "$@" || exit 1
cd $PREVPATH
mkdir -p \