- update to clojure-1.10.3.986

- drop maintainership

from Omar Polo
This commit is contained in:
jasper 2021-10-25 18:54:00 +00:00
parent 4d143c9e51
commit 10cc1c96bf
4 changed files with 13 additions and 13 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.37 2021/05/19 01:50:30 kurt Exp $
# $OpenBSD: Makefile,v 1.38 2021/10/25 18:54:00 jasper Exp $
COMMENT = Lisp-1 dialect for the Java Virtual Machine
V = 1.10.1.469
V = 1.10.3.986
DISTNAME = clojure-tools-$V
PKGNAME = clojure-$V
REVISION = 0
PKG_ARCH = *
@ -13,8 +12,6 @@ CATEGORIES = lang
HOMEPAGE = https://www.clojure.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Eclipse Public License EPL 1.0
PERMIT_PACKAGE = Yes
@ -41,6 +38,7 @@ completions: install
pre-configure:
sed -i 's,PREFIX,${CLOJURE_HOME},' ${WRKSRC}/clojure
sed -i 's,BINDIR,${LOCALBASE}/bin,' ${WRKSRC}/clj
do-install:
${INSTALL_DATA_DIR} ${CLOJURE_HOME}/libexec/ ${PREFIX}/man/man1

View File

@ -1,2 +1,2 @@
SHA256 (clojure-tools-1.10.1.469.tar.gz) = +L4/WddSBH9wwMvVTnoldetA1qU/0Z2M1pS+2mM260I=
SIZE (clojure-tools-1.10.1.469.tar.gz) = 19750978
SHA256 (clojure-tools-1.10.3.986.tar.gz) = fahLaQjQDnSMLEatI+OD7eWc8YvzrkSbHDDNalC4DvY=
SIZE (clojure-tools-1.10.3.986.tar.gz) = 14217156

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-clojure,v 1.1 2019/09/24 13:05:22 kurt Exp $
$OpenBSD: patch-clojure,v 1.2 2021/10/25 18:54:00 jasper Exp $
Index: clojure
--- clojure.orig
+++ clojure
@@ -111,7 +111,7 @@ done
@@ -178,7 +178,7 @@ done
# Find java executable
set +e
-JAVA_CMD=$(type -p java)
+JAVA_CMD=$(javaPathHelper -c clojure)
-JAVA_CMD=${JAVA_CMD:-$(type -p java)}
+JAVA_CMD=${JAVA_CMD:-$(javaPathHelper -c clojure)}
set -e
if [[ ! -n "$JAVA_CMD" ]]; then
if [[ -z "$JAVA_CMD" ]]; then
if [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2018/04/26 12:44:52 jasper Exp $
@comment $OpenBSD: PLIST,v 1.10 2021/10/25 18:54:00 jasper Exp $
bin/clj
bin/clojure
clojure/
@ -7,5 +7,7 @@ clojure/deps.edn
clojure/example-deps.edn
clojure/libexec/
clojure/libexec/clojure-tools-${V}.jar
clojure/libexec/exec.jar
clojure/tools.edn
@man man/man1/clj.1
@man man/man1/clojure.1