From nobody Tue Oct 26 10:40:21 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 387B6182050B; Tue, 26 Oct 2021 10:40:22 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdpHp172sz3pHq; Tue, 26 Oct 2021 10:40:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0751A1B23E; Tue, 26 Oct 2021 10:40:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19QAeLdj087788; Tue, 26 Oct 2021 10:40:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19QAeLUn087783; Tue, 26 Oct 2021 10:40:21 GMT (envelope-from git) Date: Tue, 26 Oct 2021 10:40:21 GMT Message-Id: <202110261040.19QAeLUn087783@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: cd072fcb7973 - main - lang/mecrisp-stellaris: Update to 2.6.1. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cd072fcb79736ba8540e1f6a048f928ad4cac0c7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd072fcb79736ba8540e1f6a048f928ad4cac0c7 commit cd072fcb79736ba8540e1f6a048f928ad4cac0c7 Author: Robert Clausecker AuthorDate: 2021-10-26 09:22:21 +0000 Commit: Mikael Urankar CommitDate: 2021-10-26 10:40:14 +0000 lang/mecrisp-stellaris: Update to 2.6.1. - reorder Makefile to make portclippy happy - refactor conditionals for IGNORE Relevant upstream changes: - Added (dp) (latest) addrinflash? addrinram? rrotate to all cores - Added dictionary-tools and fixed flaw in multitask-debug - Fixed 2rshift in common/cordic - Signal handlers and syscall library for FreeBSD PR: 259448 --- lang/mecrisp-stellaris/Makefile | 52 ++++++++++++++++++---------------------- lang/mecrisp-stellaris/distinfo | 6 ++--- lang/mecrisp-stellaris/pkg-plist | 5 ++-- 3 files changed, 29 insertions(+), 34 deletions(-) diff --git a/lang/mecrisp-stellaris/Makefile b/lang/mecrisp-stellaris/Makefile index 1ae184b920b8..401608597c08 100644 --- a/lang/mecrisp-stellaris/Makefile +++ b/lang/mecrisp-stellaris/Makefile @@ -1,6 +1,5 @@ PORTNAME= mecrisp-stellaris -DISTVERSION= 2.5.9 -PORTREVISION= 1 +PORTVERSION= 2.6.1 CATEGORIES= lang MASTER_SITES= SF/mecrisp @@ -10,49 +9,44 @@ COMMENT= Native code Forth system for ARM LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +.if defined(QEMU_EMULATING) +IGNORE_aarch64= fails to build with qemu-user-static: \ + qemu-aarch64-static cannot execute armv7 binaries +.endif +IGNORE_FreeBSD_12_aarch64= OS too old to run armv7 binaries on arm64, upgrade to FreeBSD 13 +ONLY_FOR_ARCHS= aarch64 armv6 armv7 +ONLY_FOR_ARCHS_REASON= written in ARM assembly + BUILD_DEPENDS= arm-none-eabi-binutils>2.25:devel/binutils@arm_none_eabi +# stripping eats our hand-crafted ELF binaries, so don't do that +# the binaries are free of symbols or stuff like that anyway +STRIP= + +PKGMESSAGE= pkg-message-${ARCH} + OPTIONS_DEFINE= EXTRAS OPTIONS_DEFAULT= EXTRAS EXTRAS_DESC= Add disassembler and math library to Forth core EXTRAS_VARS= PROGRAM=mecrisp-stellaris-freebsd-with-disassembler-and-math EXTRAS_VARS_OFF= PROGRAM=mecrisp-stellaris-freebsd -.include - -.if ${OSVERSION} < 1300000 -ONLY_FOR_ARCHS= armv6 armv7 -.else -ONLY_FOR_ARCHS= aarch64 armv6 armv7 -.endif -ONLY_FOR_ARCHS_REASON= written in ARM assembly - -.if ${ARCH} == "aarch64" && defined(QEMU_EMULATING) -IGNORE= fails to build with qemu-user-static: \ - qemu-aarch64-static cannot execute armv7 binaries -.endif - -PKGMESSAGE= pkg-message-${ARCH} - -AFLAGS.armv6= -march=armv6 --defsym m0core=1 -MAKE_ENV+= AFLAGS="${AFLAGS.${ARCH}}" - -# stripping eats our hand-crafted ELF binaries, so don't do that -# the binaries are free of symbols or stuff like that anyway -STRIP= +BINSUFFIX_armv6= -armv6 +BINSUFFIX= ${BINSUFFIX_${ARCH}} # Can't use the release script as it tries to build a bunch of stuff # that won't build correctly. This does the relevant parts manually. do-build: - cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v assemble - ${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd ${WRKSRC}/freebsd-ra/ - cd ${WRKSRC}/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v buildcore-freebsd + cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SH} -v assemble + ${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd${BINSUFFIX} \ + ${WRKSRC}/freebsd-ra/mecrisp-stellaris-freebsd + cd ${WRKSRC}/freebsd-ra && ${SH} -v buildcore-freebsd do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/KNOWN-ISSUES ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/common; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/common && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/freebsd-ra/${PROGRAM} ${STAGEDIR}${PREFIX}/bin/mecrisp-stellaris -.include +.include diff --git a/lang/mecrisp-stellaris/distinfo b/lang/mecrisp-stellaris/distinfo index 2a640d0a6126..f55150acf3b5 100644 --- a/lang/mecrisp-stellaris/distinfo +++ b/lang/mecrisp-stellaris/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621882899 -SHA256 (mecrisp-stellaris-2.5.9.tar.gz) = 56539aeb2ff8f7d36f2149410255ec683b8279feb7dbadbda4e14a96528e598a -SIZE (mecrisp-stellaris-2.5.9.tar.gz) = 5835193 +TIMESTAMP = 1635200337 +SHA256 (mecrisp-stellaris-2.6.1.tar.gz) = f8a41094bd2374eec262ddf9dfaa8ab95c997b7da5a9bf91c8524d03b96bfb94 +SIZE (mecrisp-stellaris-2.6.1.tar.gz) = 5864349 diff --git a/lang/mecrisp-stellaris/pkg-plist b/lang/mecrisp-stellaris/pkg-plist index e0204bfc700e..70b0c1726ba3 100644 --- a/lang/mecrisp-stellaris/pkg-plist +++ b/lang/mecrisp-stellaris/pkg-plist @@ -25,6 +25,7 @@ bin/mecrisp-stellaris %%DATADIR%%/date-time-tests.fs %%DATADIR%%/date-time.fs %%DATADIR%%/defcount.txt +%%DATADIR%%/dictionary-tools.txt %%DATADIR%%/disassembler-m0.txt %%DATADIR%%/disassembler-m3.txt %%DATADIR%%/dump.txt @@ -33,7 +34,7 @@ bin/mecrisp-stellaris %%DATADIR%%/experimental/bignum.txt %%DATADIR%%/experimental/definitioncount.txt %%DATADIR%%/experimental/float.txt -%%DATADIR%%/experimental/forget-stellaris.txt +%%DATADIR%%/experimental/sv.fs %%DATADIR%%/experimental/vocs-0.7.0/README %%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-1.log %%DATADIR%%/experimental/vocs-0.7.0/VOC-HOWTO-Classes-2.log @@ -88,7 +89,7 @@ bin/mecrisp-stellaris %%DATADIR%%/fonts/tiny/bdf2forth.pas %%DATADIR%%/fonts/tiny/tom-thumb-b.txt %%DATADIR%%/fonts/tiny/tom-thumb.bdf -%%DATADIR%%/forget-stellaris.txt +%%DATADIR%%/forget.txt %%DATADIR%%/graphics-unicode-3x3.txt %%DATADIR%%/graphics-unicode-4x6.txt %%DATADIR%%/graphics-unicode-8x16.txt