summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/net-fs/samba/samba.exlib10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/net-fs/samba/samba.exlib b/packages/net-fs/samba/samba.exlib
index 9a808bc..af637d8 100644
--- a/packages/net-fs/samba/samba.exlib
+++ b/packages/net-fs/samba/samba.exlib
@@ -4,7 +4,7 @@
require pam wafsamba systemd-service
-export_exlib_phases src_prepare src_configure src_install
+export_exlib_phases pkg_pretend src_prepare src_configure src_install
SUMMARY="Samba provides seamless file and print services to SMB/CIFS clients, e. g. Windows"
DESCRIPTION="
@@ -161,6 +161,14 @@ WAF_SRC_CONFIGURE_TESTS=(
--enable-selftest
)
+samba_pkg_pretend() {
+ if [[ ! "${EXJOBS}" = 1 ]] ; then
+ ewarn "Building Samba with jobs=n (n>1) is known to fail for double digit values of n."
+ ewarn "If you experience a build failure, only report it after reproducing it with jobs=1."
+ ewarn "In practice, there isn't much value in going beyond jobs=8. YMMV."
+ fi
+}
+
samba_src_prepare() {
default