From owner-svn-ports-all@freebsd.org Sat Jan 9 22:41:21 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3B934E50FD; Sat, 9 Jan 2021 22:41:21 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCw1Y6fdvz4bND; Sat, 9 Jan 2021 22:41:21 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D76001DB7E; Sat, 9 Jan 2021 22:41:21 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 109MfLfU057535; Sat, 9 Jan 2021 22:41:21 GMT (envelope-from leres@FreeBSD.org) Received: (from leres@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 109MfLAG057534; Sat, 9 Jan 2021 22:41:21 GMT (envelope-from leres@FreeBSD.org) Message-Id: <202101092241.109MfLAG057534@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: leres set sender to leres@FreeBSD.org using -f From: Craig Leres Date: Sat, 9 Jan 2021 22:41:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560897 - head/devel/arduino-bsd-mk X-SVN-Group: ports-head X-SVN-Commit-Author: leres X-SVN-Commit-Paths: head/devel/arduino-bsd-mk X-SVN-Commit-Revision: 560897 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2021 22:41:22 -0000 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