summaryrefslogtreecommitdiff
path: root/java/java-rxtx/destdir.patch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-20 13:50:12 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-20 13:50:12 -0400
commitc375e36ec4c4e0b3c276e2b71bdd0651fa1a6a1d (patch)
tree4006c9e76bca24bbbdce343f8a7ac4c65b3b2ca2 /java/java-rxtx/destdir.patch
parent2ecf59e36659c710c187166da65d40e0d8b6af7b (diff)
parent422d616c151e4df847fdc5fc23af4f15946092ee (diff)
Merge branch 'java'
Diffstat (limited to 'java/java-rxtx/destdir.patch')
-rw-r--r--java/java-rxtx/destdir.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/java/java-rxtx/destdir.patch b/java/java-rxtx/destdir.patch
new file mode 100644
index 000000000..11416841f
--- /dev/null
+++ b/java/java-rxtx/destdir.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.orig 2012-09-21 15:21:00.000000000 -0400
++++ Makefile.in 2012-09-21 15:21:07.000000000 -0400
+@@ -566,13 +566,15 @@
+ # install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its
+ # proper location
+ install: all
++ $(mkinstalldirs) $(DESTDIR)$(RXTX_PATH)
++ $(mkinstalldirs) $(DESTDIR)$(JHOME)
+ @$(LIBTOOL_INST) \
+ `for i in $(TARGETLIB);do \
+ if [ -f $$i ];then \
+ echo $$i; \
+ fi; \
+- done` $(RXTX_PATH)
+- $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
++ done` $(DESTDIR)$(RXTX_PATH)
++ $(INSTALL_PROGRAM) $(JARTARGET) $(DESTDIR)$(JHOME)/
+
+ clean-generic:
+ rm -rf $(DEST) $(TOP)/$(CLASSTOP)