Without IP_SCTP, lksctp-tools will be built but not able to work
properly.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=501484
(cherry picked from commit
5efe824490b0dbe40141fd3583da525fd9971948)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
EAPI=5
-inherit eutils multilib flag-o-matic autotools autotools-utils
+inherit eutils multilib flag-o-matic autotools autotools-utils linux-info
DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation"
HOMEPAGE="http://lksctp.sourceforge.net/"
REQUIRED_USE="kernel_linux"
+CONFIG_CHECK="~IP_SCTP"
+WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be."
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.8-prefix.patch #181602
epatch "${FILESDIR}"/${P}-build.patch
EAPI=5
-inherit eutils multilib flag-o-matic autotools autotools-utils
+inherit eutils multilib flag-o-matic autotools autotools-utils linux-info
DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation"
HOMEPAGE="http://lksctp.sourceforge.net/"
REQUIRED_USE="kernel_linux"
+CONFIG_CHECK="~IP_SCTP"
+WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be."
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.8-prefix.patch #181602
eautoreconf
EAPI=5
-inherit eutils multilib flag-o-matic autotools autotools-utils
+inherit eutils multilib flag-o-matic autotools autotools-utils linux-info
DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation"
HOMEPAGE="http://lksctp.sourceforge.net/"
REQUIRED_USE="kernel_linux"
+CONFIG_CHECK="~IP_SCTP"
+WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be."
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.8-prefix.patch #181602
eautoreconf