summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-10 20:36:22 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-10 20:36:22 +0000
commit1853d072f4e35a695463f65265b164aa7d5ee183 (patch)
tree3274f91b34190984ac170c426f87d230f7204bff /net-misc
parentAdd prefix keywords (diff)
downloadgentoo-2-1853d072f4e35a695463f65265b164aa7d5ee183.tar.gz
gentoo-2-1853d072f4e35a695463f65265b164aa7d5ee183.tar.bz2
gentoo-2-1853d072f4e35a695463f65265b164aa7d5ee183.zip
fix USE=-java
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ssvnc/files/ssvnc-1.0.22-optional-java.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/ssvnc/files/ssvnc-1.0.22-optional-java.patch b/net-misc/ssvnc/files/ssvnc-1.0.22-optional-java.patch
index 0d1b9e3940f1..c9263a453cc6 100644
--- a/net-misc/ssvnc/files/ssvnc-1.0.22-optional-java.patch
+++ b/net-misc/ssvnc/files/ssvnc-1.0.22-optional-java.patch
@@ -1,5 +1,16 @@
--- a/Makefile
+++ b/Makefile
+@@ -44,8 +44,10 @@
+
+ config:
+ sh -c 'type xmkmf'
++ifneq ($(JSRC),)
+ sh -c 'type javac'
+ sh -c 'type jar'
++endif
+ @echo
+ cd $(VSRC)/libvncauth; pwd; xmkmf
+ cd $(VSRC)/vncviewer; pwd; xmkmf
@@ -55,13 +55,17 @@ config:
all:
cd $(VSRC)/libvncauth; $(MAKE)