c977db561e
to be easily maintainable. so instead move it to files/ for now untill it gets incorporated upstream. discussed with aja@
151 lines
6.5 KiB
Plaintext
151 lines
6.5 KiB
Plaintext
$OpenBSD: patch-configure,v 1.12 2011/05/23 18:09:10 jasper Exp $
|
|
|
|
./configure[3240]: ${INTROSPECTION_GIRDIR/$datadir/\$(datadir)}: bad substitution
|
|
|
|
--- configure.orig Fri Mar 25 15:54:05 2011
|
|
+++ configure Mon May 23 19:46:25 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
|
|
@@ -7006,10 +7006,12 @@ newos6*)
|
|
;;
|
|
|
|
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)$'
|
|
+ lt_cv_file_magic_cmd=/usr/bin/file
|
|
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
|
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
|
|
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
|
else
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
|
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
|
fi
|
|
;;
|
|
|
|
@@ -13049,12 +13051,18 @@ $as_echo_n "checking for libgtop sysdeps directory...
|
|
libgtop_sysdeps_private_mountlist=yes
|
|
libgtop_sysdeps_private_fsusage=yes
|
|
;;
|
|
- netbsd*|openbsd*|bsdi*)
|
|
+ netbsd*|bsdi*)
|
|
libgtop_sysdeps_dir=bsd
|
|
libgtop_use_machine_h=yes
|
|
libgtop_need_server=yes
|
|
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
|
+ libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2555 $(bindir)/libgtop_server2'
|
|
;;
|
|
+ openbsd*)
|
|
+ libgtop_sysdeps_dir=openbsd
|
|
+ libgtop_use_machine_h=yes
|
|
+ libgtop_need_server=yes
|
|
+ libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2555 $(bindir)/libgtop_server2'
|
|
+ ;;
|
|
freebsd*|kfreebsd*)
|
|
libgtop_sysdeps_dir=freebsd
|
|
libgtop_use_machine_h=yes
|
|
@@ -14903,7 +14911,7 @@ if ${ac_cv_lib_intl_strftime+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -14936,7 +14944,7 @@ $as_echo "$ac_cv_lib_intl_strftime" >&6; }
|
|
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
|
|
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
fi
|
|
|
|
fi
|
|
@@ -15674,7 +15682,7 @@ if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -15711,7 +15719,7 @@ if ${ac_cv_lib_intl_ngettext+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -15748,7 +15756,7 @@ if ${ac_cv_lib_intl_dgettext+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -15885,7 +15893,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 +15925,7 @@ done
|
|
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
|
|
@@ -16232,11 +16240,6 @@ glib_save_datarootdir="$datarootdir"
|
|
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
|
|
- localedir=`eval echo "${datadir}/locale"`
|
|
-fi
|
|
prefix="$glib_save_prefix"
|
|
exec_prefix="$glib_save_exec_prefix"
|
|
datarootdir="$glib_save_datarootdir"
|
|
@@ -17394,9 +17397,9 @@ else
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
+#include <sys/param.h>
|
|
#include <sys/types.h>
|
|
#include <sys/mount.h>
|
|
-#include <sys/fs_types.h>
|
|
int
|
|
main ()
|
|
{
|
|
@@ -18280,7 +18283,7 @@ fi
|
|
|
|
|
|
|
|
-ac_config_files="$ac_config_files Makefile libgtop.spec po/Makefile.in misc/Makefile include/Makefile include/glibtop/Makefile sysdeps/Makefile sysdeps/common/Makefile sysdeps/stub/Makefile sysdeps/stub_suid/Makefile sysdeps/sun4/Makefile sysdeps/osf1/Makefile sysdeps/linux/Makefile sysdeps/freebsd/Makefile sysdeps/solaris/Makefile sysdeps/aix/Makefile sysdeps/bsd/Makefile sysdeps/darwin/Makefile sysdeps/cygwin/Makefile src/Makefile src/daemon/Makefile lib/Makefile examples/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml libgtop-2.0.pc libgtopconfig.h"
|
|
+ac_config_files="$ac_config_files Makefile libgtop.spec po/Makefile.in misc/Makefile include/Makefile include/glibtop/Makefile sysdeps/Makefile sysdeps/common/Makefile sysdeps/stub/Makefile sysdeps/stub_suid/Makefile sysdeps/sun4/Makefile sysdeps/osf1/Makefile sysdeps/linux/Makefile sysdeps/freebsd/Makefile sysdeps/solaris/Makefile sysdeps/aix/Makefile sysdeps/bsd/Makefile sysdeps/darwin/Makefile sysdeps/cygwin/Makefile sysdeps/openbsd/Makefile src/Makefile src/daemon/Makefile lib/Makefile examples/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml libgtop-2.0.pc libgtopconfig.h"
|
|
|
|
|
|
cat >confcache <<\_ACEOF
|