commit: 88ff2db30bafc407bd3260e754ee6f0abfc3c74b Author: Masanori Ogino <masanori.ogino <AT> gmail <DOT> com> AuthorDate: Sun Dec 18 00:28:37 2016 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sun Dec 18 23:42:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ff2db3
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 <robbat2 <AT> gentoo.org> net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild | 5 ++++- net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild | 5 ++++- net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) 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 1b0f576..6d1e24c 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 1ccb9b7..8e916c9 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 2d6ad05..fedd06c 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