mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
290bd4aaa2
Take measures to cope with too frequent update (without version numbering) of Samsung-SmartGDI driver PR: 54708 Submitted by: KATO Tsuguru <tkato@prontomail.com>
17 lines
575 B
Makefile
17 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
|