summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-aa
blob: d5fdb04ac06db75b305475fee83a6b24a06ab944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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