summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-01-13 20:57:05 +0000
committerJames Le Cuirot <chewi@gentoo.org>2016-01-13 20:58:30 +0000
commiteb31649bd0c09b4b195f8fb1204bee517d87a703 (patch)
tree028c0999f164f92a4c46101aed3c8aaf9a66f77a /dev-java/fop/files/headless-launcher.bash
parentdev-lang/spidermonkey-1.8.5: honour CFLAGS, disable forced -O3 optimization (diff)
downloadgentoo-eb31649bd0c09b4b195f8fb1204bee517d87a703.tar.gz
gentoo-eb31649bd0c09b4b195f8fb1204bee517d87a703.tar.bz2
gentoo-eb31649bd0c09b4b195f8fb1204bee517d87a703.zip
dev-java/fop: Set headless flag in launcher, except when -awt given
fop will die if the value of DISPLAY is invalid. This was breaking other package builds for some users. A real display is needed when the -awt option is given though so make this conditional. See bug #569808. Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/fop/files/headless-launcher.bash')
-rw-r--r--dev-java/fop/files/headless-launcher.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-java/fop/files/headless-launcher.bash b/dev-java/fop/files/headless-launcher.bash
new file mode 100644
index 000000000000..a01c56f5e6ef
--- /dev/null
+++ b/dev-java/fop/files/headless-launcher.bash
@@ -0,0 +1 @@
+[[ "${!#}" = "-awt" ]] || gjl_java_args="-Djava.awt.headless=true"