summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware/ipxe')
-rw-r--r--sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
index 7a57332ce739..62210521d8fb 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