From 2ea4d5ad98741dadba0198c530e6f555b205095f Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Wed, 3 Feb 2021 15:31:01 +0000 Subject: [PATCH] lang/fennel: Update to version 0.8.1 https://git.sr.ht/~technomancy/fennel/tree/main/item/changelog.md#081--2021-02-02 --- lang/fennel/Makefile | 4 +++- lang/fennel/distinfo | 6 +++--- lang/fennel/files/patch-Makefile | 11 +++++++++++ 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 lang/fennel/files/patch-Makefile 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) +