openbsd-ports/x11/xscreensaver/patches/patch-configure

48 lines
1.4 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.1 2005/06/03 05:38:32 marcm Exp $
--- configure.orig Sun Mar 20 23:18:18 2005
+++ configure Mon Apr 18 16:09:02 2005
@@ -6718,6 +6718,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"
@@ -8616,7 +8617,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
@@ -8686,7 +8687,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
@@ -15634,7 +15635,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
@@ -15693,7 +15694,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