2011-04-07 04:09:35 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.11 2011/04/07 08:09:35 ajacoutot Exp $
|
|
|
|
|
|
|
|
./configure[3240]: ${INTROSPECTION_GIRDIR/$datadir/\$(datadir)}: bad substitution
|
|
|
|
|
|
|
|
--- configure.orig Thu Apr 7 10:05:32 2011
|
|
|
|
+++ configure Thu Apr 7 10:05:19 2011
|
|
|
|
@@ -3231,9 +3231,9 @@ $as_echo "$found_introspection" >&6; }
|
|
|
|
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
|
|
|
|
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
|
|
|
|
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
|
|
|
|
- INTROSPECTION_GIRDIR=${INTROSPECTION_GIRDIR/$datadir/\$(datadir)}
|
|
|
|
+ INTROSPECTION_GIRDIR=`echo ${INTROSPECTION_GIRDIR} | sed -e "s|${datadir}|\\\$(datadir)|"`
|
|
|
|
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
|
|
|
|
- INTROSPECTION_TYPELIBDIR=${INTROSPECTION_TYPELIBDIR/$libdir/\$(libdir)}
|
|
|
|
+ INTROSPECTION_TYPELIBDIR=`echo ${INTROSPECTION_TYPELIBDIR} | sed -e "s|${libdir}|\\\$(libdir)|"`
|
|
|
|
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
|
|
|
|
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
|
|
|
|
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -7006,10 +7006,12 @@ newos6*)
|
2007-01-18 14:31:34 -05:00
|
|
|
;;
|
|
|
|
|
2009-10-16 06:56:04 -04:00
|
|
|
openbsd*)
|
|
|
|
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_file_magic_cmd=/usr/bin/file
|
|
|
|
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
2008-02-09 11:52:24 -05:00
|
|
|
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
2009-10-16 06:56:04 -04:00
|
|
|
else
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
2009-10-16 06:56:04 -04:00
|
|
|
fi
|
2007-01-18 14:31:34 -05:00
|
|
|
;;
|
2009-10-16 06:56:04 -04:00
|
|
|
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -13053,7 +13055,7 @@ $as_echo_n "checking for libgtop sysdeps directory...
|
|
|
|
libgtop_sysdeps_dir=bsd
|
|
|
|
libgtop_use_machine_h=yes
|
2006-04-02 08:21:00 -04:00
|
|
|
libgtop_need_server=yes
|
2011-03-25 12:16:32 -04:00
|
|
|
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
|
|
|
+ libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2555 $(bindir)/libgtop_server2'
|
2006-04-02 08:21:00 -04:00
|
|
|
;;
|
2008-02-09 11:52:24 -05:00
|
|
|
freebsd*|kfreebsd*)
|
|
|
|
libgtop_sysdeps_dir=freebsd
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -14903,7 +14905,7 @@ if ${ac_cv_lib_intl_strftime+:} false; then :
|
2010-03-30 12:24:24 -04:00
|
|
|
$as_echo_n "(cached) " >&6
|
2007-01-18 14:31:34 -05:00
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2010-09-30 03:44:35 -04:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -14936,7 +14938,7 @@ $as_echo "$ac_cv_lib_intl_strftime" >&6; }
|
|
|
|
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
|
2010-09-30 03:44:35 -04:00
|
|
|
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
|
2010-03-30 12:24:24 -04:00
|
|
|
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -15674,7 +15676,7 @@ if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
|
2010-03-30 12:24:24 -04:00
|
|
|
$as_echo_n "(cached) " >&6
|
2008-02-09 11:52:24 -05:00
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2010-09-30 03:44:35 -04:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -15711,7 +15713,7 @@ if ${ac_cv_lib_intl_ngettext+:} false; then :
|
2010-03-30 12:24:24 -04:00
|
|
|
$as_echo_n "(cached) " >&6
|
2008-02-09 11:52:24 -05:00
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
2007-01-18 14:31:34 -05:00
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2010-09-30 03:44:35 -04:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -15748,7 +15750,7 @@ if ${ac_cv_lib_intl_dgettext+:} false; then :
|
2010-03-30 12:24:24 -04:00
|
|
|
$as_echo_n "(cached) " >&6
|
2007-01-18 14:31:34 -05:00
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
2008-02-09 11:52:24 -05:00
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2010-09-30 03:44:35 -04:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -15885,7 +15887,7 @@ fi
|
|
|
|
#
|
|
|
|
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
|
|
|
|
glib_save_LIBS="$LIBS"
|
|
|
|
- LIBS="$LIBS -lintl $libintl_extra_libs"
|
|
|
|
+ LIBS="$LIBS -lintl -liconv $libintl_extra_libs"
|
|
|
|
unset ac_cv_func_bind_textdomain_codeset
|
|
|
|
for ac_func in bind_textdomain_codeset
|
|
|
|
do :
|
|
|
|
@@ -15917,7 +15919,7 @@ done
|
2010-09-30 03:44:35 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
|
|
|
|
- INTLLIBS="-lintl $libintl_extra_libs"
|
|
|
|
+ INTLLIBS="-lintl -liconv $libintl_extra_libs"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$gt_cv_have_gettext" = "yes"; then
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -16232,11 +16234,6 @@ glib_save_datarootdir="$datarootdir"
|
2008-02-09 11:52:24 -05:00
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
|
|
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
|
|
|
datarootdir=`eval echo "${datarootdir}"`
|
|
|
|
-if test "x$CATOBJEXT" = "x.mo" ; then
|
|
|
|
- localedir=`eval echo "${libdir}/locale"`
|
|
|
|
-else
|
2009-10-16 06:56:04 -04:00
|
|
|
- localedir=`eval echo "${datadir}/locale"`
|
2008-02-09 11:52:24 -05:00
|
|
|
-fi
|
|
|
|
prefix="$glib_save_prefix"
|
|
|
|
exec_prefix="$glib_save_exec_prefix"
|
|
|
|
datarootdir="$glib_save_datarootdir"
|
2011-03-25 12:16:32 -04:00
|
|
|
@@ -17394,9 +17391,9 @@ else
|
2010-09-30 03:44:35 -04:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2008-02-09 11:52:24 -05:00
|
|
|
/* end confdefs.h. */
|
2009-10-16 06:56:04 -04:00
|
|
|
|
2009-11-02 15:19:06 -05:00
|
|
|
+#include <sys/param.h>
|
2009-10-16 06:56:04 -04:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
-#include <sys/fs_types.h>
|
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|