[packages/pl] set JAVAPREFIX
atler
atler at pld-linux.org
Fri Feb 3 19:07:08 CET 2023
commit c41fab66a27a73311d339406f3c630b51200f799
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Feb 3 19:06:47 2023 +0100
set JAVAPREFIX
pl.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pl.spec b/pl.spec
index 61a81f8..6460ebf 100644
--- a/pl.spec
+++ b/pl.spec
@@ -167,7 +167,10 @@ Prolog.
CFLAGS=$(echo %{rpmcflags} | sed 's|-march=[^ ]*||')
export CFLAGS
-%{?with_java:export JAVA_HOME="%{java_home}"}
+%if %{with java}
+export JAVA_HOME="%{java_home}"
+export JAVAPREFIX="%{java_home}/bin"
+%endif
cd src
cp -f /usr/share/automake/config.sub .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pl.git/commitdiff/c41fab66a27a73311d339406f3c630b51200f799
More information about the pld-cvs-commit
mailing list