diff options
author | Sam James <sam@gentoo.org> | 2023-06-12 18:50:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-12 18:50:53 +0100 |
commit | d1e7521fb883fa4dd2d65487fdffda4903bd0d4a (patch) | |
tree | 2764cbd1a48969897f60894de757b9df16f62a58 | |
parent | dev-db/influxdb: 2.7.1-r1 revbump for several fixes (diff) | |
download | gentoo-d1e7521fb883fa4dd2d65487fdffda4903bd0d4a.tar.gz gentoo-d1e7521fb883fa4dd2d65487fdffda4903bd0d4a.tar.bz2 gentoo-d1e7521fb883fa4dd2d65487fdffda4903bd0d4a.zip |
net-fs/samba: use dummy .pc file for llvm-libunwind
LLVM still doesn't provide any...
Closes: https://bugs.gentoo.org/874633
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | net-fs/samba/samba-4.16.10.ebuild | 19 | ||||
-rw-r--r-- | net-fs/samba/samba-4.16.8.ebuild | 19 | ||||
-rw-r--r-- | net-fs/samba/samba-4.17.8.ebuild | 19 | ||||
-rw-r--r-- | net-fs/samba/samba-4.18.3.ebuild | 19 |
4 files changed, 76 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.16.10.ebuild b/net-fs/samba/samba-4.16.10.ebuild index 91b5cf463acd..258c37134aeb 100644 --- a/net-fs/samba/samba-4.16.10.ebuild +++ b/net-fs/samba/samba-4.16.10.ebuild @@ -233,6 +233,25 @@ multilib_src_configure() { bundled_libs="cmocka,${bundled_libs}" fi + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + local myconf=( --enable-fhs --sysconfdir="${EPREFIX}/etc" diff --git a/net-fs/samba/samba-4.16.8.ebuild b/net-fs/samba/samba-4.16.8.ebuild index 2f33091b53fb..3cefea75dfa9 100644 --- a/net-fs/samba/samba-4.16.8.ebuild +++ b/net-fs/samba/samba-4.16.8.ebuild @@ -233,6 +233,25 @@ multilib_src_configure() { bundled_libs="cmocka,${bundled_libs}" fi + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + local myconf=( --enable-fhs --sysconfdir="${EPREFIX}/etc" diff --git a/net-fs/samba/samba-4.17.8.ebuild b/net-fs/samba/samba-4.17.8.ebuild index 64dc7ce9bf2c..3c6e492f5d8a 100644 --- a/net-fs/samba/samba-4.17.8.ebuild +++ b/net-fs/samba/samba-4.17.8.ebuild @@ -230,6 +230,25 @@ multilib_src_configure() { bundled_libs="cmocka,${bundled_libs}" fi + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + local myconf=( --enable-fhs --sysconfdir="${EPREFIX}/etc" diff --git a/net-fs/samba/samba-4.18.3.ebuild b/net-fs/samba/samba-4.18.3.ebuild index dd6ebd54b02e..5ad2cad9375e 100644 --- a/net-fs/samba/samba-4.18.3.ebuild +++ b/net-fs/samba/samba-4.18.3.ebuild @@ -230,6 +230,25 @@ multilib_src_configure() { bundled_libs="cmocka,${bundled_libs}" fi + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + local myconf=( --enable-fhs --sysconfdir="${EPREFIX}/etc" |