From: Masanori Ogino Date: Sun, 18 Dec 2016 00:28:37 +0000 (+0900) Subject: net-misc/lksctp-tools: Check if IP_SCTP is set. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=88ff2db30bafc407bd3260e754ee6f0abfc3c74b;p=gentoo.git net-misc/lksctp-tools: Check if IP_SCTP is set. 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 --- diff --git a/net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild b/net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild index 1b0f576b62ef..6d1e24c56655 100644 --- a/net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild +++ b/net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild @@ -4,7 +4,7 @@ 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/" @@ -21,6 +21,9 @@ RDEPEND="" 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 diff --git a/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild b/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild index 1ccb9b7dce92..8e916c902b71 100644 --- a/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild +++ b/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild @@ -4,7 +4,7 @@ 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/" @@ -21,6 +21,9 @@ RDEPEND="" 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 diff --git a/net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild b/net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild index 2d6ad050d3c0..fedd06cc6c17 100644 --- a/net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild +++ b/net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild @@ -4,7 +4,7 @@ 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/" @@ -21,6 +21,9 @@ RDEPEND="" 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