freebsd-ports/print/ghostscript9-agpl/files/patch-base-devs.mak
Hiroki Sato ed102396a2 Add print/ghostscript9-agpl{,-nox11}. Ghostscript 9.x has released under
GNU Affero GPL version 3 since 9.07 while print/ghostscript9 (version 9.06)
was under GNU GPL version 3.  The difference between the two licenses is
whether SaaS loophole is closed or not.  For more detail, see
http://www.gnu.org/licenses/why-affero-gpl.html.
2013-04-28 16:59:29 +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 --------------- ######