diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-22 00:15:23 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-22 00:15:37 +0100 |
commit | 624c189ab990ca7f9ef45c046b8d1dd60b66a151 (patch) | |
tree | 0aa0d3fcdc38e6d1a69ffa52f2013e80f630017d /net-firewall | |
parent | dev-libs/rocksdb-6.15.4: Version bump (diff) | |
download | gentoo-624c189ab990ca7f9ef45c046b8d1dd60b66a151.tar.gz gentoo-624c189ab990ca7f9ef45c046b8d1dd60b66a151.tar.bz2 gentoo-624c189ab990ca7f9ef45c046b8d1dd60b66a151.zip |
net-firewall/nftables: Fixed build with sys-devel/slibtool
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/nftables/files/nftables-0.9.8-slibtool.patch | 13 | ||||
-rw-r--r-- | net-firewall/nftables/nftables-0.9.8.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch b/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch new file mode 100644 index 000000000000..a92645f793c7 --- /dev/null +++ b/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch @@ -0,0 +1,13 @@ +This fixes build with sys-devel/slibtool + +--- nftables-0.9.8/src/Makefile.am ++++ nftables-0.9.8/src/Makefile.am +@@ -90,7 +90,7 @@ + + libnftables_la_LIBADD = ${LIBMNL_LIBS} ${LIBNFTNL_LIBS} libparser.la + libnftables_la_LDFLAGS = -version-info ${libnftables_LIBVERSION} \ +- --version-script=$(srcdir)/libnftables.map ++ -Wl,--version-script=$(srcdir)/libnftables.map + + if BUILD_MINIGMP + noinst_LTLIBRARIES += libminigmp.la diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild index da74dfce9224..626037ea8e8a 100644 --- a/net-firewall/nftables/nftables-0.9.8.ebuild +++ b/net-firewall/nftables/nftables-0.9.8.ebuild @@ -40,6 +40,10 @@ REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) " +PATCHES=( + "${FILESDIR}/${PN}-0.9.8-slibtool.patch" +) + python_make() { emake \ -C py \ |