aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2017-04-21 03:55:58 +0800
committerbsam <bsam@FreeBSD.org>2017-04-21 03:55:58 +0800
commitaeb85c9f0ae20c58da83d969eee3ac3a54d5e9d6 (patch)
treeab2e1b87eecac572ece40745639f2b260c87980a
parent7ac95e51c8d07b613075abdf93fda62bbe06c2f1 (diff)
downloadfreebsd-ports-gnome-aeb85c9f0ae20c58da83d969eee3ac3a54d5e9d6.tar.gz
freebsd-ports-gnome-aeb85c9f0ae20c58da83d969eee3ac3a54d5e9d6.tar.zst
freebsd-ports-gnome-aeb85c9f0ae20c58da83d969eee3ac3a54d5e9d6.zip
devel/arduino-core: fix ARCH name reintplacement.
PR: 218770 Submitted by: Zane C. Bowers-Hadley <vvelox@vvelox.net> Patched by: Kyle Evans <bsdports@kyle-evans.net> (maintainer)
-rw-r--r--devel/arduino-core/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/arduino-core/Makefile b/devel/arduino-core/Makefile
index 5a17ee9c175a..8abb48c8a4cb 100644
--- a/devel/arduino-core/Makefile
+++ b/devel/arduino-core/Makefile
@@ -2,6 +2,7 @@
PORTNAME= arduino-core
PORTVERSION= 1.6.18
+PORTREVISION= 1
CATEGORIES= devel
DIST_SUBDIR= arduino
@@ -33,7 +34,7 @@ SAMD_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-hardware_arduino_samd_platform.txt
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|%%ARCH%%|${ARDUINO_ARCH}|g' -e 's|%%OSREL%%|${OSREL:R}|g' ${WRKSRC}/hardware/package_index_bundled.json
+ @${REINPLACE_CMD} -e 's|%%ARCH%%|${ARCH}|g' -e 's|%%OSREL%%|${OSREL:R}|g' ${WRKSRC}/hardware/package_index_bundled.json
do-install:
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "hardware" ${STAGEDIR}${PREFIX}/arduino ${FIND_EXPR})