summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-agpl-base/files/patch-configure.ac')
-rw-r--r--print/ghostscript9-agpl-base/files/patch-configure.ac38
1 files changed, 38 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl-base/files/patch-configure.ac b/print/ghostscript9-agpl-base/files/patch-configure.ac
new file mode 100644
index 000000000000..9b68cce459f5
--- /dev/null
+++ b/print/ghostscript9-agpl-base/files/patch-configure.ac
@@ -0,0 +1,38 @@
+--- configure.ac.orig 2015-03-30 17:21:24.000000000 +0900
++++ configure.ac 2015-08-22 03:22:12.231575000 +0900
+@@ -1607,7 +1607,7 @@
+ X_DEVS=""
+ X_LIBS=""
+
+-if test x$no_x != xyes; then
++if test x$with_x != xno; then
+ if test "$x_libraries" = "/usr/lib"; then
+ echo "Ignoring X library directory \"$x_libraries\" requested by configure."
+ x_libraries="NONE"
+@@ -2074,7 +2074,10 @@
+ DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
+ ;;
+ *BSD)
+- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
++ if test "x$X_DEVS" != x; then
++ INSTALL_SHARED="install-shared"
++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
++ fi
+ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
+ X11_DEVS=""
+ OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
+@@ -2133,11 +2136,11 @@
+ fontpath="${fontpath}:$datadir/fonts/default/TrueType"
+
+ # These font directories are used by IRIX...
+- fontpath="${fontpath}:/usr/lib/DPS/outline/base"
++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base"
+
+ # These font directories are used by Solaris...
+- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1"
+- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType"
++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1"
++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType"
+
+ # This font directory is used by CUPS...
+ if test "x$CUPSCONFIG" != x; then