aboutsummaryrefslogtreecommitdiff
path: root/libraries/rxtx/destdir.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2011-07-19 21:05:22 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:13 -0500
commit7e73a9b6ba4c5c5c0801769a20a7723254318cb8 (patch)
treef2d55859f0c865e16f9354824237e7058a5a4e71 /libraries/rxtx/destdir.patch
parent7bd2bdca9849bfe950f211b53bb36c2307dbca10 (diff)
libraries/rxtx: Updated for version 2.2pre2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/rxtx/destdir.patch')
-rw-r--r--libraries/rxtx/destdir.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/rxtx/destdir.patch b/libraries/rxtx/destdir.patch
new file mode 100644
index 0000000000000..421fffe38f2ca
--- /dev/null
+++ b/libraries/rxtx/destdir.patch
@@ -0,0 +1,20 @@
+--- rxtx-2.2pre2_original/Makefile.in 2008-12-31 02:29:12.000000000 +0000
++++ rxtx-2.2pre2_patched/Makefile.in 2009-12-21 12:34:37.099017471 +0000
+@@ -619,13 +619,15 @@
+ # install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its
+ # proper location
+ install: all
++ $(INSTALL_PROGRAM) -d $(DESTDIR)$(RXTX_PATH)
+ @$(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) -d $(DESTDIR)$(JHOME)
++ $(INSTALL_DATA) $(JARTARGET) $(DESTDIR)$(JHOME)/
+
+ clean-generic:
+ rm -rf $(DEST) $(TOP)/$(CLASSTOP)