freebsd-ports/print/ghostscript9/files/patch-base-devs.mak
Doug Barton 44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00

24 lines
1.1 KiB
Makefile

--- base/devs.mak.orig 2009-02-14 09:46:58.000000000 +0900
+++ base/devs.mak 2009-12-20 01:39:02.000000000 +0900
@@ -418,10 +418,10 @@
### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
$(GLOBJ)lvga256.so : $(lvga256_)
- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl
+ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl $(XLDFLAGS)
$(GLOBJ)vgalib.so : $(vgalib_)
- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl
+ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl $(XLDFLAGS)
### -------------------------- The X11 device -------------------------- ###
@@ -524,7 +524,7 @@
### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
$(GLOBJ)X11.so : $(x11alt_) $(x11_)
- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
+ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
###### --------------- Memory-buffered printer devices --------------- ######