svn commit: r560897 - head/devel/arduino-bsd-mk
Craig Leres
leres at FreeBSD.org
Sat Jan 9 22:41:22 UTC 2021
Author: leres
Date: Sat Jan 9 22:41:21 2021
New Revision: 560897
URL: https://svnweb.freebsd.org/changeset/ports/560897
Log:
devel/arduino-bsd-mk: Update to 2.0
Changes since 1.5:
- Add support for Arduino 1.0 through 1.8 by autodetecting paths.
- Add -fno-threadsafe-statics to fix "undefined reference to
`__cxa_guard_release'" error that can occur because gcc enables
thread-safe initialization by default.
Honor PREFIX in Python script and require 3.6+ due to its use of
f-strings.
Modified:
head/devel/arduino-bsd-mk/Makefile
head/devel/arduino-bsd-mk/distinfo
Modified: head/devel/arduino-bsd-mk/Makefile
==============================================================================
--- head/devel/arduino-bsd-mk/Makefile Sat Jan 9 22:37:02 2021 (r560896)
+++ head/devel/arduino-bsd-mk/Makefile Sat Jan 9 22:41:21 2021 (r560897)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= arduino-bsd-mk
-PORTVERSION= 1.5
+PORTVERSION= 2.0
CATEGORIES= devel
MASTER_SITES= https://xse.com/leres/arduino/arduino-bsd-mk/ \
LOCAL/leres/arduino-bsd-mk
@@ -12,7 +12,7 @@ COMMENT= Build Arduino sketches from the command line
LICENSE= BSD2CLAUSE
-USES= python:3.5+,run shebangfix
+USES= python:3.6+,run shebangfix
SHEBANG_FILES= arduino-boards.py
@@ -32,9 +32,9 @@ ALL_SCRIPTS= arduino-bsd-mk/scripts/arduino-boards.py
arduino-bsd-mk/scripts/gcc-version.sh
pre-patch:
- # Honor PREFIX in the man page
+ # Honor PREFIX
${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' \
- ${WRKSRC}/bsd.arduino.mk.7
+ ${WRKSRC}/arduino-boards.py ${WRKSRC}/bsd.arduino.mk
post-install:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
Modified: head/devel/arduino-bsd-mk/distinfo
==============================================================================
--- head/devel/arduino-bsd-mk/distinfo Sat Jan 9 22:37:02 2021 (r560896)
+++ head/devel/arduino-bsd-mk/distinfo Sat Jan 9 22:41:21 2021 (r560897)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600018097
-SHA256 (arduino-bsd-mk-1.5.tar.gz) = d187addd48aecacabfb6c1c5f7836c055bd5c8a4462162d5232b220018f6ade5
-SIZE (arduino-bsd-mk-1.5.tar.gz) = 9868
+TIMESTAMP = 1610230981
+SHA256 (arduino-bsd-mk-2.0.tar.gz) = bc6c590caef3b2a77e3aef07dafaeab61557a648d15ca8096c0b65ee00f02f0e
+SIZE (arduino-bsd-mk-2.0.tar.gz) = 10324
More information about the svn-ports-head
mailing list