blob: 55ba92ea692c096839b4e16c631b6219b57d358a (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
$NetBSD: patch-ae,v 1.20 2009/10/11 08:01:47 adam Exp $
--- configure.orig 2009-09-24 01:55:22.000000000 +0200
+++ configure
@@ -20246,14 +20246,14 @@ if test "x$ac_cv_file__usr_include_libxm
CFLAGS="$CFLAGS -I/usr/include/libxml2/"
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/include/libxml2/libxml" >&5
-$as_echo_n "checking for /usr/local/include/libxml2/libxml... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${PREFIX}/include/libxml2/libxml" >&5
+$as_echo_n "checking for ${PREFIX}/include/libxml2/libxml... " >&6; }
if test "${ac_cv_file__usr_local_include_libxml2_libxml+set}" = set; then :
$as_echo_n "(cached) " >&6
else
test "$cross_compiling" = yes &&
as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
-if test -r "/usr/local/include/libxml2/libxml"; then
+if test -r "${PREFIX}/include/libxml2/libxml"; then
ac_cv_file__usr_local_include_libxml2_libxml=yes
else
ac_cv_file__usr_local_include_libxml2_libxml=no
@@ -20262,7 +20262,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_include_libxml2_libxml" >&5
$as_echo "$ac_cv_file__usr_local_include_libxml2_libxml" >&6; }
if test "x$ac_cv_file__usr_local_include_libxml2_libxml" = x""yes; then :
- CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/libxml2/"
+ CFLAGS="$CFLAGS -I${PREFIX}/include -I${PREFIX}/include/libxml2/"
else
$as_echo "#define _NO_LIBXML 1" >>confdefs.h
@@ -22761,7 +22761,7 @@ if test "$gww_has_gettext" = "yes" >/dev
cat </dev/null >$ac_confdir/po/Makefile.in
echo 'prefix = @prefix@' >> $ac_confdir/po/Makefile.in
- echo 'localedir = $(prefix)/share/locale' >> $ac_confdir/po/Makefile.in
+ echo 'localedir = ${PREFIX}/${PKGLOCALEDIR}/locale' >> $ac_confdir/po/Makefile.in
echo 'INSTALL = @INSTALL@' >> $ac_confdir/po/Makefile.in
echo 'INSTALL_DATA = @INSTALL_DATA@' >> $ac_confdir/po/Makefile.in
echo '' >> $ac_confdir/po/Makefile.in
@@ -22843,7 +22843,7 @@ if test "$gww_archlist" != "" ; then
LDFLAGS="$LDFLAGS $gww_archlist"
fi
-CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`
+CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2//g | sed -e s/-O//g`
cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in
cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in
|