summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-aa
blob: 5f12ab83017d90107dcac6b79aa9e10ec134128d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.30 2011/01/13 13:27:22 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	2011-01-06 13:02:45.000000000 +0000
+++ Makefile.in
@@ -1342,14 +1342,6 @@ install-data-hook:
 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