summaryrefslogtreecommitdiff
path: root/sysutils/fwupd-efi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fwupd-efi/Makefile')
-rw-r--r--sysutils/fwupd-efi/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/fwupd-efi/Makefile b/sysutils/fwupd-efi/Makefile
index df74e60c5f9c..2dcbb12f1e69 100644
--- a/sysutils/fwupd-efi/Makefile
+++ b/sysutils/fwupd-efi/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fwupd-efi
DISTVERSION= 1.8
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= decke@FreeBSD.org
@@ -36,4 +37,9 @@ FW_ARCH=${ARCH}
PLIST_FILES= libdata/pkgconfig/fwupd-efi.pc \
libexec/fwupd/efi/fwupd${FW_ARCH}.efi
+post-patch:
+ # use objcopy from binutils because GNU specific flags are used
+ @${REINPLACE_CMD} "s|find_program('objcopy')|find_program('${LOCALBASE}/bin/objcopy')|g" \
+ ${WRKSRC}/meson.build
+
.include <bsd.port.post.mk>