mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 02:57:40 -04:00
72 lines
2.2 KiB
Plaintext
72 lines
2.2 KiB
Plaintext
$NetBSD: patch-ac,v 1.23 2010/05/17 16:35:03 drochner Exp $
|
|
|
|
--- configure.orig 2010-04-13 20:37:06.000000000 +0000
|
|
+++ configure
|
|
@@ -3651,6 +3651,9 @@ $as_echo "$ac_cv_gcc_accepts_no_cpp_prec
|
|
ac_gcc_accepts_no_cpp_precomp="$ac_cv_gcc_accepts_no_cpp_precomp"
|
|
fi
|
|
|
|
+# Disable c89 options, since these trigger more errors than expected and
|
|
+# cause build failures.
|
|
+if false; then
|
|
if test -n "$GCC"; then
|
|
|
|
case "$host" in
|
|
@@ -3711,6 +3714,7 @@ $as_echo "Disabling C++ comments in ANSI
|
|
# CC="$CC -Wp,-lang-c89"
|
|
fi
|
|
fi
|
|
+fi
|
|
|
|
ac_ext=c
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
@@ -8329,7 +8333,7 @@ _ACEOF
|
|
|
|
|
|
|
|
-ALL_LINGUAS="ca da de es et fi fr hu it ja ko nb nl pl pt pt_BR ru sk sv vi wa zh_CN zh_TW"
|
|
+ALL_LINGUAS="da de es et fi fr hu it ja ko nb nl pl pt ru sk sv vi wa zh_CN zh_TW"
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
@@ -14227,7 +14231,7 @@ if test "${ac_cv_lib_krb4_krb_get_tf_rea
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lkrb4 $LIBS"
|
|
+LIBS="-lkrb -lcrypto -lroken -lcom_err $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -14318,7 +14322,7 @@ $as_echo "$as_me: WARNING: Cannot find c
|
|
# from Matt Knopp <mhat@infocalypse.netlag.com>
|
|
# (who got it from amu@mit.edu)
|
|
|
|
- PASSWD_LIBS="$PASSWD_LIBS -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"
|
|
+ PASSWD_LIBS="$PASSWD_LIBS -lkrb5 -lasn1 -lkrb -lcrypto -lroken -lcom_err"
|
|
|
|
# jwz: MacOS X uses -lkrb5, but not -lcrypt
|
|
|
|
@@ -15524,7 +15528,7 @@ fi
|
|
#
|
|
if test "$enable_locking" = yes ; then
|
|
case "$host" in
|
|
- *-hpux* | *-aix* | *-netbsd* | *-freebsd* | *-openbsd* )
|
|
+ *-hpux* | *-aix* | *-freebsd* | *-openbsd* )
|
|
need_setuid=yes
|
|
;;
|
|
esac
|
|
@@ -15958,11 +15962,7 @@ $as_echo "$ac_cv_gtk_config_libs" >&6; }
|
|
ac_gtk_config_libs=$ac_cv_gtk_config_libs
|
|
|
|
GTK_EXTRA_OBJS=""
|
|
- GTK_DATADIR=""
|
|
- if test "$have_gtk" = yes; then
|
|
- GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0`
|
|
- GTK_DATADIR="$GTK_DATADIR/share"
|
|
- fi
|
|
+ GTK_DATADIR="$datadir"
|
|
|
|
if test "$have_gtk" = yes; then
|
|
INCLUDES="$INCLUDES $ac_gtk_config_cflags"
|