summaryrefslogtreecommitdiff
path: root/www/dillo/patches/patch-ad
blob: 0f2598ca0a78f765ced6f284d82be5236e4fdeb8 (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
25
26
27
$NetBSD: patch-ad,v 1.3 2011/01/13 13:52:54 wiz Exp $

--- configure.orig	2010-02-11 05:19:59.000000000 -0500
+++ configure	2010-12-11 13:52:46.000000000 -0500
@@ -2999,7 +2999,7 @@
 
 ac_config_headers="$ac_config_headers config.h"
 
-sysconfdir=${sysconfdir}/${PACKAGE}
+sysconfdir=${sysconfdir}
 
 
 
@@ -6214,8 +6214,12 @@
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
 $as_echo_n "checking for libpng-config... " >&6; }
 
+
   if test -z "$PNG_CONFIG"; then
-    PNG_CONFIG=`which libpng12-config`
+    PNG_CONFIG=`which libpng15-config`
+    if test -z "$PNG_CONFIG"; then
+      PNG_CONFIG=`which libpng15-config`
+    fi
     if test -z "$PNG_CONFIG"; then
       PNG_CONFIG=`which libpng-config`
     fi