svn commit: r476989 - head/lang/ponyc
Thomas Zander
riggs at FreeBSD.org
Sun Aug 12 13:16:02 UTC 2018
Author: riggs
Date: Sun Aug 12 13:16:00 2018
New Revision: 476989
URL: https://svnweb.freebsd.org/changeset/ports/476989
Log:
Update to upstream version 0.24.4
Details:
- Update to 0.24.4
- Avoid using -march=native
- Add pkg-message to let the users know that devel/pcre2 is neded
for regex/glob support in pony programs
PR: 230422
Submitted by: greg at unrelenting.technology (mantainer)
Added:
head/lang/ponyc/pkg-message (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 Sun Aug 12 12:44:33 2018 (r476988)
+++ head/lang/ponyc/Makefile Sun Aug 12 13:16:00 2018 (r476989)
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= ponyc
-DISTVERSION= 0.23.0
-PORTREVISION= 1
+DISTVERSION= 0.24.4
CATEGORIES= lang
MAINTAINER= greg at unrelenting.technology
@@ -26,14 +25,24 @@ MAKE_ARGS= config=release
LLVM_VERSION= 50
-PLIST_SUB= VERSION="${DISTVERSION}"
+PLIST_SUB= VERSION="${DISTVERSION}" PONYARCH="${PONYARCH}"
USE_GITHUB= yes
GH_ACCOUNT= ponylang
PORTDOCS= *.md
-MAKE_ENV= prefix=${PREFIX} verbose=true ${"${ARCH}" == aarch64:?arch=armv8-a:}
+MAKE_ENV= prefix=${PREFIX} verbose=true arch=${PONYARCH}
+
+# Pony defaults to 'native', which
+# a) doesn't work on aarch64
+# b) is not appropriate for official OS packages
+.if "${ARCH}" == aarch64
+PONYARCH?= armv8-a
+.elif "${ARCH}" == amd64
+# Can't use 'x86-64' because atomics are required
+PONYARCH?= core2
+.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pony/${DISTVERSION}/bin/ponyc
Modified: head/lang/ponyc/distinfo
==============================================================================
--- head/lang/ponyc/distinfo Sun Aug 12 12:44:33 2018 (r476988)
+++ head/lang/ponyc/distinfo Sun Aug 12 13:16:00 2018 (r476989)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1528747607
-SHA256 (ponylang-ponyc-0.23.0_GH0.tar.gz) = 13bace89b4d069c7fa01e514d38fdcf02a8d2bf011367081186c4b00decf83bd
-SIZE (ponylang-ponyc-0.23.0_GH0.tar.gz) = 1520685
+TIMESTAMP = 1533336886
+SHA256 (ponylang-ponyc-0.24.4_GH0.tar.gz) = 979e443fa27df7b65c3ac35db47fc0b130608f0745d4fa393c451734343c088d
+SIZE (ponylang-ponyc-0.24.4_GH0.tar.gz) = 1361094
Added: head/lang/ponyc/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ponyc/pkg-message Sun Aug 12 13:16:00 2018 (r476989)
@@ -0,0 +1 @@
+Install devel/pcre2 for regex/glob support in Pony programs.
Modified: head/lang/ponyc/pkg-plist
==============================================================================
--- head/lang/ponyc/pkg-plist Sun Aug 12 12:44:33 2018 (r476988)
+++ head/lang/ponyc/pkg-plist Sun Aug 12 13:16:00 2018 (r476989)
@@ -6,8 +6,8 @@ lib/libponyrt.a
lib/pony/%%VERSION%%/bin/ponyc
lib/pony/%%VERSION%%/include/pony.h
lib/pony/%%VERSION%%/include/pony/detail/atomics.h
-lib/pony/%%VERSION%%/lib/libponyc.a
-lib/pony/%%VERSION%%/lib/libponyrt.a
+lib/pony/%%VERSION%%/lib/%%PONYARCH%%/libponyc.a
+lib/pony/%%VERSION%%/lib/%%PONYARCH%%/libponyrt.a
lib/pony/%%VERSION%%/packages/assert/assert.pony
lib/pony/%%VERSION%%/packages/backpressure/auth.pony
lib/pony/%%VERSION%%/packages/backpressure/backpressure.pony
@@ -112,6 +112,7 @@ lib/pony/%%VERSION%%/packages/itertools/iter.pony
lib/pony/%%VERSION%%/packages/itertools/itertools.pony
lib/pony/%%VERSION%%/packages/json/_json_print.pony
lib/pony/%%VERSION%%/packages/json/_test.pony
+lib/pony/%%VERSION%%/packages/json/json.pony
lib/pony/%%VERSION%%/packages/json/json_doc.pony
lib/pony/%%VERSION%%/packages/json/json_type.pony
lib/pony/%%VERSION%%/packages/logger/_test.pony
@@ -120,33 +121,14 @@ lib/pony/%%VERSION%%/packages/math/fibonacci.pony
lib/pony/%%VERSION%%/packages/net/_test.pony
lib/pony/%%VERSION%%/packages/net/auth.pony
lib/pony/%%VERSION%%/packages/net/dns.pony
-lib/pony/%%VERSION%%/packages/net/http/_client_conn_handler.pony
-lib/pony/%%VERSION%%/packages/net/http/_client_connection.pony
-lib/pony/%%VERSION%%/packages/net/http/_host_service.pony
-lib/pony/%%VERSION%%/packages/net/http/_http_parser.pony
-lib/pony/%%VERSION%%/packages/net/http/_server_conn_handler.pony
-lib/pony/%%VERSION%%/packages/net/http/_server_connection.pony
-lib/pony/%%VERSION%%/packages/net/http/_server_listener.pony
-lib/pony/%%VERSION%%/packages/net/http/_test.pony
-lib/pony/%%VERSION%%/packages/net/http/client.pony
-lib/pony/%%VERSION%%/packages/net/http/common_log.pony
-lib/pony/%%VERSION%%/packages/net/http/contents_log.pony
-lib/pony/%%VERSION%%/packages/net/http/discard_log.pony
-lib/pony/%%VERSION%%/packages/net/http/http_handler.pony
-lib/pony/%%VERSION%%/packages/net/http/http_session.pony
-lib/pony/%%VERSION%%/packages/net/http/mimetypes.pony
-lib/pony/%%VERSION%%/packages/net/http/payload.pony
-lib/pony/%%VERSION%%/packages/net/http/server.pony
-lib/pony/%%VERSION%%/packages/net/http/server_notify.pony
-lib/pony/%%VERSION%%/packages/net/http/status.pony
-lib/pony/%%VERSION%%/packages/net/http/url.pony
-lib/pony/%%VERSION%%/packages/net/http/url_encode.pony
lib/pony/%%VERSION%%/packages/net/net.pony
lib/pony/%%VERSION%%/packages/net/net_address.pony
lib/pony/%%VERSION%%/packages/net/ossocket.pony
lib/pony/%%VERSION%%/packages/net/ossockopt.pony
lib/pony/%%VERSION%%/packages/net/ssl/_ssl_init.pony
lib/pony/%%VERSION%%/packages/net/ssl/_ssl_versions.pony
+lib/pony/%%VERSION%%/packages/net/ssl/_test.pony
+lib/pony/%%VERSION%%/packages/net/ssl/alpn.pony
lib/pony/%%VERSION%%/packages/net/ssl/ssl.pony
lib/pony/%%VERSION%%/packages/net/ssl/ssl_connection.pony
lib/pony/%%VERSION%%/packages/net/ssl/ssl_context.pony
@@ -236,9 +218,6 @@ lib/pony/%%VERSION%%/packages/time/timers.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gups_basic/main.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gups_opt/main.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/helloworld/main.pony
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpget/cacert.pem
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpget/httpget.pony
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpserver/httpserver.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ifdef/ifdef.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lambda/lambda.pony
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailbox/main.pony
More information about the svn-ports-all
mailing list