pkgsrc/graphics/jpeg2ps/patches/patch-aa
dillo 0af60ea7f3 add jpeg2ps 1.9:
jpeg2ps is a utility for converting JPEG images to compressed
   PostScript Level 2 or 3 files (without uncompressing the images).
   The JPEG data is simply ``wrapped'' with PostScript which yields
   considerably smaller PS files.  jpeg2ps is a simple command line
   utility.
2002-09-04 16:31:39 +00:00

33 lines
870 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/09/04 16:31:39 dillo Exp $
--- Makefile.orig Mon Feb 4 12:39:21 2002
+++ Makefile
@@ -14,15 +14,15 @@ ZIPFILE = jpeg2ps-$(VERSION).zip
# The following was reported to work for emx/gcc 0.9c fix04 under OS/2:
# make -f Makefile "CFLAGS=-c -DA4 -DDOS -O2" "LDFLAGS=-Zexe -s"
-CFLAGS=-c -DA4
-LD=cc
-LDFLAGS=
+#CFLAGS=-c -DA4
+#LD=cc
+#LDFLAGS=
OBJ=o
EXE=
RM=rm -f
.c.$(OBJ) :
- $(CC) $(CFLAGS) $*.c
+ $(CC) -c $(CFLAGS) $*.c
all: jpeg2ps$(EXE)
@@ -30,7 +30,7 @@ all: jpeg2ps$(EXE)
# at the end of the next two lines below.
jpeg2ps$(EXE): jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
- $(LD) $(LDFLAGS) -o jpeg2ps$(EXE) jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
+ $(CC) $(LDFLAGS) -o jpeg2ps$(EXE) jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
DISTFILES = \
jpeg2ps.c psimage.h readjpeg.c asc85ec.c getopt.c \