summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-agpl-x11/files/patch-devices-devs.mak')
-rw-r--r--print/ghostscript9-agpl-x11/files/patch-devices-devs.mak11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak b/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak
new file mode 100644
index 000000000000..a1c1d134dd66
--- /dev/null
+++ b/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak
@@ -0,0 +1,11 @@
+--- devices/devs.mak.orig 2015-03-30 17:21:24.000000000 +0900
++++ devices/devs.mak 2015-07-14 08:48:48.795797000 +0900
+@@ -546,7 +546,7 @@
+ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
+
+ $(DEVOBJ)X11.so : $(x11alt_) $(x11_) $(MAKEDIRS)
+- $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
++ $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
+
+ ###### --------------- Memory-buffered printer devices --------------- ######
+