pkgsrc/graphics/netpbm/patches/patch-ad
tron e8caa7879c Update "netpbm" package to version 9.2. There are too many changes and
bug fixes to list here. Main new features are shared libraries, JPEG
and JBIG support.
2000-05-17 10:13:19 +00:00

16 lines
645 B
Text

$NetBSD: patch-ad,v 1.8 2000/05/17 10:13:20 tron Exp $
--- pnm/Makefile.orig Tue May 16 03:29:36 2000
+++ pnm/Makefile Wed May 17 11:00:41 2000
@@ -128,9 +128,9 @@
# The Tiff library references math functions.
tifftopnm pnmtotiff pnmtotiffcmyk: %: %.o \
- $(NETPBMLIBS) $(TIFFLIB_DIR)/libtiff.$(LIBTIFFSUFFIX) $(LIBOPT)
+ $(NETPBMLIBS) $(LIBOPT) $(TIFFLIB_DEP)
$(LD) $(LDFLAGS) -o $@ $@.o `$(LIBOPT) $(NETPBMLIBS)` \
- -L$(TIFFLIB_DIR) -ltiff $(JPEGLD) -lm $(CDEBUG)
+ -L$(TIFFLIB_DIR) -ltiff $(JPEGLD) -lm -lz $(CDEBUG)
pngtopnm pnmtopng: %: %.o $(NETPBMLIBS) $(LIBOPT)
$(LD) $(LDFLAGS) -o $@ $@.o `$(LIBOPT) $(NETPBMLIBS)` \