summaryrefslogtreecommitdiff
path: root/comms/java-rxtx/patches/patch-Makefile_am
diff options
context:
space:
mode:
Diffstat (limited to 'comms/java-rxtx/patches/patch-Makefile_am')
-rw-r--r--comms/java-rxtx/patches/patch-Makefile_am19
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/java-rxtx/patches/patch-Makefile_am b/comms/java-rxtx/patches/patch-Makefile_am
new file mode 100644
index 00000000000..3ad8d407d20
--- /dev/null
+++ b/comms/java-rxtx/patches/patch-Makefile_am
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile_am,v 1.1 2013/02/11 01:13:20 dsainty Exp $
+
+A Jar can't be stripped nor executed - it's data.
+
+Add DESTDIR support.
+
+--- Makefile.am.orig 2005-07-08 15:47:33.000000000 +1200
++++ Makefile.am 2011-11-29 02:56:50.674521001 +1300
+@@ -86,8 +86,8 @@
+ if [ -f $$i ];then \
+ echo $$i; \
+ fi; \
+- done` $(RXTX_PATH)
+- $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
++ done` $(DESTDIR)$(RXTX_PATH)
++ $(INSTALL_DATA) $(JARTARGET) $(DESTDIR)$(JHOME)/
+
+ clean-generic:
+ rm -rf $(DEST) $(TOP)/$(CLASSTOP)