summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/willuhn-hbci4java/files/java_home.patch')
-rw-r--r--net-libs/willuhn-hbci4java/files/java_home.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-libs/willuhn-hbci4java/files/java_home.patch b/net-libs/willuhn-hbci4java/files/java_home.patch
new file mode 100644
index 0000000..4d443ed
--- /dev/null
+++ b/net-libs/willuhn-hbci4java/files/java_home.patch
@@ -0,0 +1,10 @@
+Index: hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile
+===================================================================
+--- hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d.orig/chipcard/src/frontend/Makefile
++++ hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile
+@@ -1,4 +1,4 @@
+-JAVA_HOME = $(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::")
++JAVA_HOME = ${JAVA_HOME-$(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::")}
+ DEFINES = -D__UNIX
+ INCLUDES = -I../include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
+ WARNINGS = -Wall