commit:     87db1ea5e558bf2e8030422c3cd11e639d521e8c
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 03:55:06 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 03:55:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87db1ea5

sys-firmware/ipxe: add USE=ipv6 support

 sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild 
b/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
index 7a57332..6221052 100644
--- a/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
+++ b/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="iso lkrn +qemu undi usb vmware"
+IUSE="ipv6 iso lkrn +qemu undi usb vmware"
 
 DEPEND="dev-lang/perl
        sys-libs/zlib
@@ -38,6 +38,8 @@ src_configure() {
 #define BANNER_TIMEOUT 0
 EOF
 
+       use ipv6 && echo "#define NET_PROTO_IPV6" >> 
"${S}"/config/local/general.h
+
        if use vmware; then
                cat <<-EOF >> "${S}"/config/local/general.h
 #define VMWARE_SETTINGS

Reply via email to