aboutsummaryrefslogtreecommitdiff
path: root/sysutils/packer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/packer/Makefile')
-rw-r--r--sysutils/packer/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/packer/Makefile b/sysutils/packer/Makefile
index 8cf17454622a..878535b4e8a0 100644
--- a/sysutils/packer/Makefile
+++ b/sysutils/packer/Makefile
@@ -13,11 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/${PORTNAME}
+USES= go
+
USE_GITHUB= yes
GH_ACCOUNT= hashicorp
-USES= go
-
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-i386
+.endif
+
+.include <bsd.port.post.mk>