aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2022-10-12 18:54:05 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2022-10-12 18:55:20 +0000
commit4359a0aa3347b156bead8d122c2d9ea588af102b (patch)
treeeac199d1938f771e960a50dfc72bf0e9e0ffadfe
parentd08cda4af53b3c420393afd807f51d974797320a (diff)
downloadports-4359a0aa3347b156bead8d122c2d9ea588af102b.tar.gz
ports-4359a0aa3347b156bead8d122c2d9ea588af102b.zip
lang/crystal: Unbreak and enable interpreter mode by default
-rw-r--r--lang/crystal/Makefile6
-rw-r--r--lang/crystal/distinfo4
2 files changed, 9 insertions, 1 deletions
diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
index ceb792c6838b..ebcabf0eed20 100644
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -1,11 +1,16 @@
PORTNAME= crystal
DISTVERSION= 1.6.0
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://github.com/dmgk/crystal-bootstrap/releases/download/${BOOTSTRAP_VERSION}/:bootstrap \
LOCAL/dmgk/crystal:bootstrap
DISTFILES= ${BOOTSTRAP_NAME}.tar.xz:bootstrap
DIST_SUBDIR= ${PORTNAME}
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+# https://github.com/crystal-lang/crystal/pull/12600
+PATCHFILES= a9262815f45fc35ad63fa3c1d3d03ce7a57b76e1.diff:-p1
+
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Language with Ruby-like syntax and static type checking
WWW= https://crystal-lang.org
@@ -50,6 +55,7 @@ PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES INTERPRETER STATIC
+OPTIONS_DEFAULT= INTERPRETER
INTERPRETER_DESC= Enable interpreter (experimental)
diff --git a/lang/crystal/distinfo b/lang/crystal/distinfo
index 34ce7a216602..273d689477ce 100644
--- a/lang/crystal/distinfo
+++ b/lang/crystal/distinfo
@@ -1,7 +1,9 @@
-TIMESTAMP = 1665444750
+TIMESTAMP = 1665598712
SHA256 (crystal/crystal-1.5.1-aarch64-llvm14.tar.xz) = 62617bf7a6d38d5a980672559b680818bf35803252f69bb6ecfb33377c3b2a88
SIZE (crystal/crystal-1.5.1-aarch64-llvm14.tar.xz) = 2085460
SHA256 (crystal/crystal-lang-crystal-1.6.0_GH0.tar.gz) = 8119bc099d898be0d2e5055f783d41325a10e4b7824240272eb6ecb30c8c9a2e
SIZE (crystal/crystal-lang-crystal-1.6.0_GH0.tar.gz) = 3058366
+SHA256 (crystal/a9262815f45fc35ad63fa3c1d3d03ce7a57b76e1.diff) = ee0073194e647438cb0ab2ccd9c9dbab60310f31fe11343f4d5f132a56598ded
+SIZE (crystal/a9262815f45fc35ad63fa3c1d3d03ce7a57b76e1.diff) = 1204
SHA256 (crystal/crystal-1.5.1-amd64-llvm14.tar.xz) = abd7cd2a798b9184d6cbb600fde29a55e196a03974c164ceac1713be264fb7ac
SIZE (crystal/crystal-1.5.1-amd64-llvm14.tar.xz) = 2608988