aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2017-04-20 19:55:58 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2017-04-20 19:55:58 +0000
commitef60cedb2590ebf33816d7b034bc221443842141 (patch)
treeab2e1b87eecac572ece40745639f2b260c87980a
parent0f046495bc1da76acec0666b190a505f84ddd803 (diff)
downloadports-ef60cedb2590ebf33816d7b034bc221443842141.tar.gz
ports-ef60cedb2590ebf33816d7b034bc221443842141.zip
Notes
-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})