Re: FreeBSD Port: devel/leiningen update to 2.9.7 (forgot to Cc sorry)
Date: Mon, 08 Nov 2021 22:30:11 UTC
Filipe da Silva Santos <contact@shiori.com.br> writes: > BTW, I forgot to add those two lines: > > --- /usr/local/poudriere/ports/default/devel/leiningen/Makefile 2021-11-08 20:44:52.224373000 +0000 > +++ /home/shiorid/projects/ports/devel/leiningen/Makefile 2021-11-08 20:42:49.806204000 +0000 > @@ -11,9 +11,12 @@ > LICENSE= EPL > LICENSE_FILE= ${WRKSRC}/COPYING > > +RUN_DEPENDS= clj:lang/clojure Rationale to put into the commit message is missing. (a) leiningen /seems/ to work without clojure installed. (b) leiningen source doesn't reference "clj" binary. (c) leiningen in other distributions (Alpine, Arch, Gentoo, Nix, Void) doesn't depend on clojure package. I'm asking because this change seems unrelated to 2.9.7 update. $ pkg delete clojure $ lein repl As of 2.8.2, the repl task is incompatible with Clojure versions older than 1.7.0. You can downgrade to 2.8.1 or use `lein trampoline run -m clojure.main` for a simpler fallback repl. Subprocess failed (exit code: 1) ^C $ lein trampoline run -m clojure.main Reflection warning, /tmp/form-init12345.clj:1 - call to invokeStaticMethod can't be resolved. Clojure 1.3.0 user=> (first '(a b c)) a user=> (print "hello\n") hello nil $ cd $(make -V WRKSRC)/test_projects/sample $ lein compile Retrieving codox/codox/0.6.4/codox-0.6.4.pom from clojars Retrieving codox/codox.leiningen/0.6.4/codox.leiningen-0.6.4.pom from clojars Retrieving leinjacker/leinjacker/0.4.1/leinjacker-0.4.1.pom from clojars Retrieving org/clojure/core.contracts/0.0.1/core.contracts-0.0.1.pom from central Retrieving org/clojure/pom.contrib/0.0.26/pom.contrib-0.0.26.pom from central Retrieving org/sonatype/oss/oss-parent/5/oss-parent-5.pom from central Retrieving org/clojure/core.unify/0.5.3/core.unify-0.5.3.pom from central Retrieving org/clojure/clojure/1.4.0/clojure-1.4.0.pom from central Retrieving org/clojure/core.contracts/0.0.1/core.contracts-0.0.1.jar from central Retrieving org/clojure/core.unify/0.5.3/core.unify-0.5.3.jar from central Retrieving org/clojure/clojure/1.4.0/clojure-1.4.0.jar from central Retrieving codox/codox/0.6.4/codox-0.6.4.jar from clojars Retrieving leinjacker/leinjacker/0.4.1/leinjacker-0.4.1.jar from clojars Retrieving codox/codox.leiningen/0.6.4/codox.leiningen-0.6.4.jar from clojars