diff options
Diffstat (limited to 'app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch')
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch new file mode 100644 index 000000000000..5e50180cd309 --- /dev/null +++ b/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch @@ -0,0 +1,26 @@ +diff -Naur pilot-link-0.12.2.orig/bindings/Java/Makefile.am pilot-link-0.12.2/bindings/Java/Makefile.am +--- pilot-link-0.12.2.orig/bindings/Java/Makefile.am 2007-07-22 10:40:48.000000000 +0200 ++++ pilot-link-0.12.2/bindings/Java/Makefile.am 2007-07-22 10:41:46.000000000 +0200 +@@ -81,21 +81,7 @@ + java_pisock: java_compile java_lib java_jar + + install: all +- ARCH=""; \ +- for a in i386 amd64 ppc; do \ +- if [ -e ${JAVABASE}/jre/lib/$${a} ]; then \ +- ARCH="$${a}"; \ +- break; \ +- fi; \ +- done; \ +- if [ -n "$${ARCH}" ]; then \ +- echo "Unknown architecture. Copy lipijsock.so to ${JAVABASE}/jre/lib/ARCH/"; \ +- else \ +- mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}" && \ +- cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}"; \ +- echo "done."; \ +- fi +- ++ + test: install + ${JAVABASE}/bin/java test ${PORT} + |