summaryrefslogtreecommitdiffstats
path: root/net/samba4/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba4/BUILD')
-rwxr-xr-xnet/samba4/BUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/samba4/BUILD b/net/samba4/BUILD
index 2b4fced079..d1b48b0d90 100755
--- a/net/samba4/BUILD
+++ b/net/samba4/BUILD
@@ -1,8 +1,11 @@
OPTS="--enable-fhs \
- $SAMBA4_PTHREADS \
+ $SAMBA4 \
$OPTS" &&
-cd $SOURCE_DIRECTORY/source4 &&
-make_single &&
+if [[ "$SAMBA4_BRANCH" == "scm" ]]; then
+ cd $SOURCE_DIRECTORY/source4 &&
+ make_single
+fi &&
+
default_build &&
make_normal