pkgsrc/print/cups/patches/patch-ag

33 lines
920 B
Text
Raw Normal View History

$NetBSD: patch-ag,v 1.15 2003/05/28 02:34:00 jlam Exp $
--- filter/Makefile.orig Tue May 27 21:29:11 2003
+++ filter/Makefile
@@ -27,7 +27,7 @@
include ../Makedefs
TARGETS = gziptoany hpgltops texttops pstops imagetops imagetoraster \
- rastertodymo rastertoepson rastertohp libcupsimage.a
+ rastertodymo rastertoepson rastertohp
HPGLOBJS = hpgl-attr.o hpgl-config.o hpgl-main.o hpgl-prolog.o \
hpgl-char.o hpgl-input.o hpgl-polygon.o hpgl-vector.o
@@ -45,7 +45,7 @@ OBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOB
# Make all targets...
#
-all: $(TARGETS) libcupsimage.a
+all: $(TARGETS) $(LIBCUPSIMAGE) libcupsimage.a
#
@@ -87,8 +87,8 @@ install: all installhdrs
fi
-if test $(LIBCUPSIMAGE) != "libcupsimage.a"; then \
$(INSTALL_LIB) libcupsimage.a $(LIBDIR); \
+ $(RANLIB) $(LIBDIR)/libcupsimage.a; \
fi
- $(RANLIB) $(LIBDIR)/libcupsimage.a
installhdrs:
$(INSTALL_DIR) $(INCLUDEDIR)/cups