#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_do_not_link_against_libz.dpatch by Bram Senders <bram@luon.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: While building dpkg-shlibdeps says that linking against libz is not
## DP: required, so do not do so.
@DPATCH@
diff -urNad contextfree-2.2~/Makefile contextfree-2.2/Makefile
--- contextfree-2.2~/Makefile 2009-02-09 22:43:02.000000000 +0100
+++ contextfree-2.2/Makefile 2009-02-09 22:43:03.000000000 +0100
@@ -51,7 +51,7 @@
# Under Cygwin replace strip $@ with strip $@.exe
cfdg: $(OBJS)
- $(LINK.o) $^ /usr/lib/libagg.a -L/usr/local/lib -lstdc++ -lpng -lz -fexceptions -o $@
+ $(LINK.o) $^ /usr/lib/libagg.a -L/usr/local/lib -lstdc++ -lpng -fexceptions -o $@
strip $@