openbsd-ports/x11/xscreensaver/patches/patch-configure
aanriot 8e2dea579c update to 4.22.
ok marcm@
2005-09-04 19:53:33 +00:00

57 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2005/09/04 19:53:33 aanriot Exp $
--- configure.orig Sun Jul 24 10:43:47 2005
+++ configure Sun Jul 24 10:46:12 2005
@@ -6888,6 +6888,7 @@ EOF
ac_cv_x_app_defaults="$ac_x_app_defaults"
fi
fi
+ac_cv_x_app_defaults="/usr/local/lib/X11/app-defaults"
echo "$as_me:$LINENO: result: $ac_cv_x_app_defaults" >&5
echo "${ECHO_T}$ac_cv_x_app_defaults" >&6
eval ac_x_app_defaults="$ac_cv_x_app_defaults"
@@ -8788,7 +8789,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -8858,7 +8859,7 @@ if test "${ac_cv_lib_intl_dgettext+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -8930,7 +8931,7 @@ fi
fi
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
- LIBS="$LIBS -lintl";
+ LIBS="$LIBS -liconv -lintl";
fi
if test "$gt_cv_func_dgettext_libc" = "yes" \
@@ -15820,7 +15821,7 @@ if test "${ac_cv_lib_pthread_pthread_cre
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -15879,7 +15880,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
if test $ac_cv_lib_pthread_pthread_create = yes; then
- GL_LIBS="-lpthread"
+ GL_LIBS="-pthread"
fi
fi