summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-20 23:55:06 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-20 23:55:06 -0400
commit87db1ea5e558bf2e8030422c3cd11e639d521e8c (patch)
tree93ef369dbfcab184a809f4cbf99fe34fd210f3b0 /sys-firmware/ipxe
parentsys-firmware/ipxe: move header/toolchain setup to src_configure (diff)
downloadgentoo-87db1ea5e558bf2e8030422c3cd11e639d521e8c.tar.gz
gentoo-87db1ea5e558bf2e8030422c3cd11e639d521e8c.tar.bz2
gentoo-87db1ea5e558bf2e8030422c3cd11e639d521e8c.zip
sys-firmware/ipxe: add USE=ipv6 support
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