aboutsummaryrefslogtreecommitdiff
path: root/lang/fennel
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2021-02-03 15:31:01 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2021-02-03 15:31:01 +0000
commit2ea4d5ad98741dadba0198c530e6f555b205095f (patch)
tree9c752185f797302fc81356b2094494bde3ea091f /lang/fennel
parent5207f766290ae03636d7d8e2bbc87325f630f52f (diff)
lang/fennel: Update to version 0.8.1
Notes
Notes: svn path=/head/; revision=563894
Diffstat (limited to 'lang/fennel')
-rw-r--r--lang/fennel/Makefile4
-rw-r--r--lang/fennel/distinfo6
-rw-r--r--lang/fennel/files/patch-Makefile11
3 files changed, 17 insertions, 4 deletions
diff --git a/lang/fennel/Makefile b/lang/fennel/Makefile
index 7a687acf81e4..c545d81d110a 100644
--- a/lang/fennel/Makefile
+++ b/lang/fennel/Makefile
@@ -1,9 +1,10 @@
# $FreeBSD$
PORTNAME= fennel
-DISTVERSION= 0.8.0
+DISTVERSION= 0.8.1
CATEGORIES= lang
MASTER_SITES= https://git.sr.ht/~technomancy/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
+#MASTER_SITES= https://fennel-lang.org/downloads/
MAINTAINER= jrm@FreeBSD.org
COMMENT= Lisp that compiles to Lua
@@ -14,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake lua:build
MAKE_ENV= LUA=${LUA_CMD} \
+ LUA_DIR=${LOCALBASE} \
LUA_INCLUDE_DIR=${LUA_INCDIR} \
STATIC_LUA_LIB=${LUA_LIBDIR}/liblua-${LUA_VER}.a
diff --git a/lang/fennel/distinfo b/lang/fennel/distinfo
index 43cb791288c1..ca37ab62d7e6 100644
--- a/lang/fennel/distinfo
+++ b/lang/fennel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612314100
-SHA256 (fennel-0.8.0.tar.gz) = 6a8502331190d5caf2cea7dd71d437cdb97c5b0cb34651b792e60d5ae72e48eb
-SIZE (fennel-0.8.0.tar.gz) = 192208
+TIMESTAMP = 1612348784
+SHA256 (fennel-0.8.1.tar.gz) = 1aeffdf369b9c67a48aff2590f5393c4549e09a10d6e5195879eca06a02c0f8e
+SIZE (fennel-0.8.1.tar.gz) = 192303
diff --git a/lang/fennel/files/patch-Makefile b/lang/fennel/files/patch-Makefile
new file mode 100644
index 000000000000..391c4bdb6b0e
--- /dev/null
+++ b/lang/fennel/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2021-02-03 11:01:26 UTC
++++ Makefile
+@@ -43,7 +43,7 @@ LUA_DIR ?= $(PWD)/lua-5.3.5
+ STATIC_LUA_LIB ?= $(LUA_DIR)/src/liblua-linux-x86_64.a
+ LUA_INCLUDE_DIR ?= $(LUA_DIR)/src
+
+-fennel-bin: src/launcher.fnl fennel $(STATIC_LUA_LIB)
++fennel-bin: src/launcher.fnl fennel
+ ./fennel --add-fennel-path src/?.fnl --no-compiler-sandbox --compile-binary \
+ $< $@ $(STATIC_LUA_LIB) $(LUA_INCLUDE_DIR)
+