diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-09 16:46:31 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-09 16:46:31 -0200 |
commit | 4e8266e93dad145bdcd07d356153937a365b9166 (patch) | |
tree | e779f119b94fa7663e8a475193c12a60ac943802 /java/java-rxtx/0001-makefile-destdir.patch | |
parent | 90e74e389fa33e42edd1d538e661033929522027 (diff) | |
parent | f19d0f1aeaad720e0559769ce636b3283cf7b8c6 (diff) | |
download | abslibre-4e8266e93dad145bdcd07d356153937a365b9166.tar.gz abslibre-4e8266e93dad145bdcd07d356153937a365b9166.tar.bz2 abslibre-4e8266e93dad145bdcd07d356153937a365b9166.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'java/java-rxtx/0001-makefile-destdir.patch')
-rw-r--r-- | java/java-rxtx/0001-makefile-destdir.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/java/java-rxtx/0001-makefile-destdir.patch b/java/java-rxtx/0001-makefile-destdir.patch new file mode 100644 index 000000000..944654ab6 --- /dev/null +++ b/java/java-rxtx/0001-makefile-destdir.patch @@ -0,0 +1,21 @@ +Add DESTDIR support to Makefile +--- RXTX.orig/Makefile.am ++++ RXTX/Makefile.am +@@ -81,13 +81,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) |