blob: 8cdd613aa441295741aac595359f4547678d1ce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Use java eclass for install instead.
--- bindings/Java/Makefile.am
+++ bindings/Java/Makefile.am
@@ -81,20 +81,6 @@
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}
|