[packages/re2c] Make configure build re2java without JAVA_HOME set

arekm arekm at pld-linux.org
Thu Nov 26 09:48:08 CET 2026


commit a60f704df27cbd5bc49099e15526279bb9837665
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 09:40:25 2026 +0100

    Make configure build re2java without JAVA_HOME set
    
    configure.ac overrides --enable-java with a JAVA_HOME test, so the builders skipped re2java.

 re2c.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/re2c.spec b/re2c.spec
index e92e685..298e97c 100644
--- a/re2c.spec
+++ b/re2c.spec
@@ -39,6 +39,8 @@ jakości.
 %setup -q
 
 %build
+# configure.ac overrides --enable-java with test -n "$JAVA_HOME", which drops re2java
+JAVA_HOME=%{_prefix} \
 %configure
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/re2c.git/commitdiff/a60f704df27cbd5bc49099e15526279bb9837665



More information about the pld-cvs-commit mailing list