diff --git a/net-fs/samba/samba-4.21.8.ebuild b/net-fs/samba/samba-4.21.8.ebuild index 453f26fa887e..7825cd88cded 100644 --- a/net-fs/samba/samba-4.21.8.ebuild +++ b/net-fs/samba/samba-4.21.8.ebuild @@ -304,6 +304,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.21.9-r1.ebuild b/net-fs/samba/samba-4.21.9-r1.ebuild index ba1fcc93181d..659c7cd530d7 100644 --- a/net-fs/samba/samba-4.21.9-r1.ebuild +++ b/net-fs/samba/samba-4.21.9-r1.ebuild @@ -308,6 +308,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.22.4.ebuild b/net-fs/samba/samba-4.22.4.ebuild index 6b8fdf389545..6e443b4b4909 100644 --- a/net-fs/samba/samba-4.22.4.ebuild +++ b/net-fs/samba/samba-4.22.4.ebuild @@ -304,6 +304,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.22.5-r1.ebuild b/net-fs/samba/samba-4.22.5-r1.ebuild index b9266464b0a4..9336dc94620d 100644 --- a/net-fs/samba/samba-4.22.5-r1.ebuild +++ b/net-fs/samba/samba-4.22.5-r1.ebuild @@ -308,6 +308,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.23.0.ebuild b/net-fs/samba/samba-4.23.0.ebuild index b6886316bb04..6c3ef48d1e4a 100644 --- a/net-fs/samba/samba-4.23.0.ebuild +++ b/net-fs/samba/samba-4.23.0.ebuild @@ -307,6 +307,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.23.2-r1.ebuild b/net-fs/samba/samba-4.23.2-r1.ebuild index 65c154874f2b..288ddd8e8554 100644 --- a/net-fs/samba/samba-4.23.2-r1.ebuild +++ b/net-fs/samba/samba-4.23.2-r1.ebuild @@ -311,6 +311,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]}