git: d642f15892e6 - 2023Q2 - sysutils/edk2: Enable IPV6

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 07:11:02 UTC
The branch 2023Q2 has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d642f15892e623c2365b62c8203ddbb1222c7475

commit d642f15892e623c2365b62c8203ddbb1222c7475
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-04-04 06:40:11 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-04-04 07:10:53 +0000

    sysutils/edk2: Enable IPV6
    
    PR:     270631
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit b9d5e500163e01b6aab11dbfb6cc880ae659a5e5)
---
 sysutils/edk2/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile
index e883c7c5efc9..c2ba0adbabc8 100644
--- a/sysutils/edk2/Makefile
+++ b/sysutils/edk2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	edk2
 PORTVERSION=	g202202
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -58,10 +58,13 @@ BINARY_ALIAS=	make=${LOCALBASE}/bin/gmake \
 # coverage for aarch64 g++ code generation's use of libgcc_s.so.1 ):
 EXTRA_LDFLAGS+=	-Wl,-rpath=${_GCC_RUNTIME}
 
+# Global args
+PLAT_ARGS=	-D NETWORK_IP6_ENABLE
+
 .if ${FLAVOR} == fvp
 PLAT=		fvp
 PLAT_ARCH=	AARCH64
-PLAT_ARGS=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
+PLAT_ARGS+=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
 PLAT_TARGET=	RELEASE
 PLATFILE=	Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
 PLAT_RESULT=	ArmVExpress-FVP-AArch64/${PLAT_TARGET}_GCC5/FV/FVP_AARCH64_EFI.fd
@@ -71,7 +74,7 @@ PLAT_FILENAME=	FVP_AARCH64_EFI.fd
 .if ${FLAVOR} == macchiatobin
 PLAT=		macchiatobin
 PLAT_ARCH=	AARCH64
-PLAT_ARGS=	-D X64EMU_ENABLE=TRUE -D CAPSULE_ENABLE=FALSE
+PLAT_ARGS+=	-D X64EMU_ENABLE=TRUE -D CAPSULE_ENABLE=FALSE
 PLAT_TARGET=	RELEASE
 PLATFILE=	Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
 PLAT_RESULT=	Armada80x0McBin-AARCH64/${PLAT_TARGET}_GCC5/FV/ARMADA_EFI.fd
@@ -81,7 +84,7 @@ PLAT_FILENAME=	ARMADA_EFI.fd
 .if ${FLAVOR} == rpi3
 PLAT=		rpi3
 PLAT_ARCH=	AARCH64
-PLAT_ARGS=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
+PLAT_ARGS+=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
 PLAT_TARGET=	RELEASE
 PLATFILE=	Platform/RaspberryPi/RPi3/RPi3.dsc
 PLAT_RESULT=	RPi3/${PLAT_TARGET}_GCC5/FV/RPI_EFI.fd
@@ -91,7 +94,7 @@ PLAT_FILENAME=	RPI_EFI.fd
 .if ${FLAVOR} == rpi4
 PLAT=		rpi4
 PLAT_ARCH=	AARCH64
-PLAT_ARGS=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
+PLAT_ARGS+=	-D X64EMU_ENABLE=FALSE -D CAPSULE_ENABLE=FALSE
 PLAT_TARGET=	RELEASE
 PLATFILE=	Platform/RaspberryPi/RPi4/RPi4.dsc
 PLAT_RESULT=	RPi4/${PLAT_TARGET}_GCC5/FV/RPI_EFI.fd