net-firewall/fwknop: re-enable in-source build wrt bug 568958
authorIlya Tumaykin <itumaykin@gmail.com>
Mon, 21 Dec 2015 15:59:38 +0000 (18:59 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 21 Dec 2015 15:59:38 +0000 (18:59 +0300)
Otherwise Python C extension fails to build because it links against fko
library built during src_compile stage. With out-of-source build this library
resides in a separate directory from sources, thus it cannot be found during
Python module compilation by normal means.

This problem didn't catch my attention earlier because build failure is only
reproducible if there is no fko library installed in the system from a previous
version of this package.

Gentoo-Bug: 568958

Package-Manager: portage-2.2.24

net-firewall/fwknop/fwknop-2.6.7-r2.ebuild

index 50e95fe2c11ce9abff1148f349a5b1324a967c50..a5bfe67541ab52ad10fcc355cd08931fb8c8e640 100644 (file)
@@ -5,6 +5,7 @@
 EAPI=5
 
 AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
 DISABLE_AUTOFORMATTING=1
 
 DISTUTILS_OPTIONAL=1