aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2016-12-01 08:50:28 +0800
committerlinimon <linimon@FreeBSD.org>2016-12-01 08:50:28 +0800
commit14e72dc0a04a5d16ee459a4650e2303d5de74f0c (patch)
tree34138841fcf13af6f4315f3d8cd1795a6d0fc4ad
parent00fdcb5ef943e8717fe8b3ec19a35c02a65b6e06 (diff)
downloadfreebsd-ports-gnome-14e72dc0a04a5d16ee459a4650e2303d5de74f0c.tar.gz
freebsd-ports-gnome-14e72dc0a04a5d16ee459a4650e2303d5de74f0c.tar.zst
freebsd-ports-gnome-14e72dc0a04a5d16ee459a4650e2303d5de74f0c.zip
Restrict to archs that FreeBSD supports in little-endian mode. Those are
all the UEFI spec supports. While here, mark broken on armv6.
-rw-r--r--sysutils/pesign/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/pesign/Makefile b/sysutils/pesign/Makefile
index 0c4509d25bc5..1d620d6cc1c8 100644
--- a/sysutils/pesign/Makefile
+++ b/sysutils/pesign/Makefile
@@ -27,6 +27,10 @@ USE_LDCONFIG= yes
EXTRA_PATCHES= ${EXTRA_PATCHES_${OPSYS}_${OSREL:R}}
EXTRA_PATCHES_FreeBSD_9= ${FILESDIR}/extra-patch-src_client.c
+ONLY_FOR_ARCHS= aarch64 armv6 amd64 i386
+ONLY_FOR_ARCHS_REASON= UEFI specification only supports little-endian processors
+BROKEN_armv6= fails to compile: error: EFI_VARIABLE_NON_VOLATILE redefined
+
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/Make.defaults