ports/print/ghostscript7/files/patch-src:smartgdi-contrib.mak
Hiroki Sato 045633a1b8 Resurrect print/ghostscript7*. Ghostscript 7.x is incompatible with 8.x
and 9.x in terms of CJK character support and they are still in demand.
While I am here, the following changes have been added:

- Add LICENSE.
- Use OPTIONS_DEFINE for ghostscript drivers.
- Add MAKE_JOBS_SAFE=yes.

Discussed with:	bapt
2013-04-29 20:12:16 +00:00

16 lines
575 B
Makefile

--- src/smartgdi-contrib.mak.orig Wed Jun 19 21:43:43 2002
+++ src/smartgdi-contrib.mak Mon Jul 21 13:59:00 2003
@@ -3,10 +3,12 @@
### Note : this driver is used by Samsung SmartGDI compatible printers. ###
###
+gdi_opts=-DGS_VERSION_MAJOR=$(GS_VERSION_MAJOR)
+
GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL)
$(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
$(SETPDEV) $(DD)gdi $(GDIMONO)
$(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gdevpcl_h)
- $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c
+ $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(gdi_opts) $(GLSRC)gdevgdi.c