openbsd-ports/x11/e17/eet/patches/patch-configure

77 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2011/01/16 00:35:27 laurent Exp $
--- configure.orig Fri Nov 12 15:24:02 2010
+++ configure Sun Nov 21 05:36:21 2010
@@ -12873,7 +12873,7 @@ $as_echo "yes" >&6; }
$as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
- requirement_eet="openssl ${requirement_eet}"
+ requirement_eet="${requirement_eet}"
fi
fi
@@ -13002,12 +13002,12 @@ case "$host_os" in
mingw*)
;;
solaris*)
- _efl_thread_cflags="-mt"
- _efl_thread_libs="-mt"
+ _efl_threads_cflags="-mt"
+ _efl_threads_libs="-mt"
;;
*)
- _efl_thread_cflags="-pthread"
- _efl_thread_libs="-pthread"
+ _efl_threads_cflags="-pthread"
+ _efl_threads_libs="-pthread"
;;
esac
@@ -13059,8 +13059,8 @@ fi
EFL_PTHREAD_CFLAGS=""
EFL_PTHREAD_LIBS=""
if test "x${_efl_have_posix_threads}" = "xyes" ; then
- EFL_PTHREAD_CFLAGS=${_efl_thread_cflags}
- EFL_PTHREAD_LIBS=${_efl_thread_libs}
+ EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
+ EFL_PTHREAD_LIBS=${_efl_threads_libs}
fi
@@ -13863,35 +13863,6 @@ case "$host_os" in
lt_enable_auto_import="-Wl,--enable-auto-import"
;;
esac
-
-
-# use --as-needed if supported
-
-LDFLAGS_SAVE=${LDFLAGS}
-LDFLAGS="${LDFLAGS} -Wl,--as-needed"
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ld_as_needed="-Wl,--as-needed"
-else
- ld_as_needed=""
-
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-
-LDFLAGS=${LDFLAGS_SAVE}
-
### Checks for library functions