net-misc/lksctp-tools: Check if IP_SCTP is set.
authorMasanori Ogino <masanori.ogino@gmail.com>
Sun, 18 Dec 2016 00:28:37 +0000 (09:28 +0900)
committerRobin H. Johnson <robbat2@gentoo.org>
Sun, 18 Dec 2016 23:42:36 +0000 (15:42 -0800)
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>
net-misc/lksctp-tools/lksctp-tools-1.0.13.ebuild
net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild
net-misc/lksctp-tools/lksctp-tools-1.0.17.ebuild

index 1b0f576b62eff4009ebf6e87d6b533f19b577579..6d1e24c5665540b09d5cc6284b362fc0af72d693 100644 (file)
@@ -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
index 1ccb9b7dce920f22bd7cce5726b9127599a8b10f..8e916c902b7177918d4d4fd3d2645ca2d64b640f 100644 (file)
@@ -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
index 2d6ad050d3c09846da8c20fcefd55e8273ac24f0..fedd06cc6c177619866bd755bcaf172f41aec4db 100644 (file)
@@ -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