From owner-svn-ports-all@freebsd.org Mon Nov 4 23:39:56 2019 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 B70B91B3DB0; Mon, 4 Nov 2019 23:39:56 +0000 (UTC) (envelope-from tobik@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) server-signature RSA-PSS (4096 bits) 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 476TmX4NzDz4VQ9; Mon, 4 Nov 2019 23:39:56 +0000 (UTC) (envelope-from tobik@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 759E23D1F; Mon, 4 Nov 2019 23:39:56 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xA4Nduqq039867; Mon, 4 Nov 2019 23:39:56 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xA4NdtCK039863; Mon, 4 Nov 2019 23:39:55 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201911042339.xA4NdtCK039863@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 4 Nov 2019 23:39:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516751 - in head/lang/ponyc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/lang/ponyc: . files X-SVN-Commit-Revision: 516751 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.29 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: Mon, 04 Nov 2019 23:39:56 -0000 Author: tobik Date: Mon Nov 4 23:39:55 2019 New Revision: 516751 URL: https://svnweb.freebsd.org/changeset/ports/516751 Log: lang/ponyc: Update to 0.33.0 - Add new option STATIC to link ponyc statically with llvm70 Changes: https://github.com/ponylang/ponyc/releases/tag/0.33.0 PR: 241663 Approved by: greg@unrelenting.technology (maintainer) Added: head/lang/ponyc/files/ head/lang/ponyc/files/patch-Makefile-ponyc (contents, props changed) Modified: head/lang/ponyc/Makefile head/lang/ponyc/distinfo head/lang/ponyc/pkg-plist Modified: head/lang/ponyc/Makefile ============================================================================== --- head/lang/ponyc/Makefile Mon Nov 4 22:57:04 2019 (r516750) +++ head/lang/ponyc/Makefile Mon Nov 4 23:39:55 2019 (r516751) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ponyc -DISTVERSION= 0.31.0 +DISTVERSION= 0.33.0 CATEGORIES= lang MAINTAINER= greg@unrelenting.technology @@ -14,7 +14,6 @@ ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Undefined reference to __atomic_compare_exchange_8 BUILD_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} -RUN_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} USES= gmake ncurses compiler:c++11-lang @@ -32,12 +31,16 @@ MAKE_ENV= config=release verbose=true default_pic=true prefix=${PREFIX} arch=${PONYARCH} \ LLVM_CONFIG=llvm-config${LLVM_VERSION} -OPTIONS_DEFINE= DOCS EXAMPLES DTRACE +OPTIONS_DEFINE= DOCS DTRACE EXAMPLES STATIC OPTIONS_EXCLUDE_aarch64= DTRACE # Not enabling DTrace by default yet because it breaks --runtimebc ("super LTO"): # https://github.com/ponylang/ponyc/issues/2915 DTRACE_MAKE_ENV= use=dtrace + +STATIC_RUN_DEPENDS_OFF= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} +STATIC_MAKE_ENV_OFF= link=llvm-dynamic +STATIC_MAKE_ENV= link=llvm-static .include Modified: head/lang/ponyc/distinfo ============================================================================== --- head/lang/ponyc/distinfo Mon Nov 4 22:57:04 2019 (r516750) +++ head/lang/ponyc/distinfo Mon Nov 4 23:39:55 2019 (r516751) @@ -1,3 +1,3 @@ -TIMESTAMP = 1567360079 -SHA256 (ponylang-ponyc-0.31.0_GH0.tar.gz) = 74bb8ccbfc4201e14a2f66502033397d63179f073be04ee366a66d329dd56778 -SIZE (ponylang-ponyc-0.31.0_GH0.tar.gz) = 1398974 +TIMESTAMP = 1572671022 +SHA256 (ponylang-ponyc-0.33.0_GH0.tar.gz) = e0bda6ba9d6a1f310cef1f3a223b804af454849ff005a437d118232fc7ebd55e +SIZE (ponylang-ponyc-0.33.0_GH0.tar.gz) = 1419604 Added: head/lang/ponyc/files/patch-Makefile-ponyc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ponyc/files/patch-Makefile-ponyc Mon Nov 4 23:39:55 2019 (r516751) @@ -0,0 +1,13 @@ +Avoid hardcoding /usr/local/bin/clang70 as fallback linker + +--- Makefile-ponyc.orig 2019-11-02 05:19:12 UTC ++++ Makefile-ponyc +@@ -130,7 +130,7 @@ LINKER_FLAGS = -march=$(arch) -mtune=$(tune) $(LDFLAGS + AR_FLAGS ?= rcs + ALL_CFLAGS = -std=gnu11 -fexceptions \ + -DPONY_VERSION=\"$(tag)\" -DLLVM_VERSION=\"$(llvm_version)\" \ +- -DPONY_COMPILER=\"$(CC)\" -DPONY_ARCH=\"$(arch)\" \ ++ -DPONY_COMPILER=\"/usr/bin/cc\" -DPONY_ARCH=\"$(arch)\" \ + -DBUILD_COMPILER=\"$(compiler_version)\" \ + -DPONY_BUILD_CONFIG=\"$(config)\" \ + -DPONY_VERSION_STR=\"$(version_str)\" \ Modified: head/lang/ponyc/pkg-plist ============================================================================== --- head/lang/ponyc/pkg-plist Mon Nov 4 22:57:04 2019 (r516750) +++ head/lang/ponyc/pkg-plist Mon Nov 4 23:39:55 2019 (r516751) @@ -32,12 +32,13 @@ lib/pony/%%VERSION%%/packages/builtin/do_not_optimise. lib/pony/%%VERSION%%/packages/builtin/env.pony lib/pony/%%VERSION%%/packages/builtin/float.pony lib/pony/%%VERSION%%/packages/builtin/iterator.pony -lib/pony/%%VERSION%%/packages/builtin/maybe_pointer.pony lib/pony/%%VERSION%%/packages/builtin/none.pony +lib/pony/%%VERSION%%/packages/builtin/nullable_pointer.pony lib/pony/%%VERSION%%/packages/builtin/platform.pony lib/pony/%%VERSION%%/packages/builtin/pointer.pony lib/pony/%%VERSION%%/packages/builtin/read_seq.pony lib/pony/%%VERSION%%/packages/builtin/real.pony +lib/pony/%%VERSION%%/packages/builtin/runtime_options.pony lib/pony/%%VERSION%%/packages/builtin/seq.pony lib/pony/%%VERSION%%/packages/builtin/signed.pony lib/pony/%%VERSION%%/packages/builtin/source_loc.pony @@ -202,6 +203,7 @@ lib/pony/%%VERSION%%/packages/time/timers.pony %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dtrace/scheduling.d %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dtrace/telemetry.d %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo/echo.pony +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fan-in/main.pony %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ffi-callbacks/callbacks.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ffi-callbacks/callbacks.pony %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ffi-struct/struct.c