$NetBSD: patch-aa,v 1.33 2013/01/24 08:15:51 wiz Exp $

Don't install compat links to libpng. Programs should use
the pkg-config or libpng-config scripts to get the correct png library
name.

--- Makefile.in.orig	2013-01-24 02:59:12.000000000 +0000
+++ Makefile.in
@@ -1526,15 +1526,6 @@ install-exec-hook:
 	cd '$(DESTDIR)$(bindir)'; rm -f libpng-config
 	cd '$(DESTDIR)$(bindir)';\
 	   $(LN_S) $(PNGLIB_BASENAME)-config libpng-config
-	@set -x;\
-	cd '$(DESTDIR)$(libdir)';\
-	for ext in a la so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@\
-	   sl dylib dll.a; do\
-		rm -f libpng.$$ext;\
-                if test -f $(PNGLIB_BASENAME).$$ext; then\
-                       $(LN_S) $(PNGLIB_BASENAME).$$ext libpng.$$ext;\
-                fi;\
-	done
 
 uninstall-hook:
 	cd '$(DESTDIR)$(includedir)'; rm -f png.h pngconf.h pnglibconf.h
