pkgsrc/www/dillo/patches/patch-ad
2011-01-13 13:52:52 +00:00

27 lines
743 B
Text

$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