openbsd-ports/x11/xscreensaver/patches/patch-configure
jasper 4c52d3dcf3 update xscreensaver to 5.01
ok kili mbalmer
2006-11-03 22:44:02 +00:00

48 lines
1.2 KiB
Plaintext

--- configure.orig Thu Nov 2 21:06:36 2006
+++ configure Thu Nov 2 21:13:35 2006
@@ -8925,7 +8925,7 @@
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
@@ -8995,7 +8995,7 @@
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
@@ -9067,7 +9067,7 @@
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" \
@@ -16029,7 +16029,7 @@
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
@@ -16088,7 +16088,7 @@
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