openbsd-ports/textproc/icu4c/patches/patch-source_configure
landry eccda17813 Update to icu4c 4.0.1, from MAINTAINER :
- Link with -pthread instead of -lphtread.
- Use VERSION (consistent with other ports, although it's still not a
  rule) and propagate it where needed.
- Propagate SO_VERSION using MAKE_FLAGS.
- Fix MASTER_SITES.
- Remove a bunch of patches that prevented .so links to be created, use
  a post-install target to remove them instead.

Discussed with and ok ajacoutot@
2009-01-27 22:11:15 +00:00

56 lines
1.7 KiB
Plaintext

$OpenBSD: patch-source_configure,v 1.4 2009/01/27 22:11:15 landry Exp $
--- source/configure.orig Sat Jan 24 17:03:07 2009
+++ source/configure Sat Jan 24 17:03:48 2009
@@ -4108,13 +4108,13 @@ OLD_LIBS=${LIBS}
if test $threads = true; then
-echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
-echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pthread_attr_init in -phtread" >&5
+echo $ECHO_N "checking for pthread_attr_init in -phtread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-phtread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4177,7 +4177,7 @@ if test $ac_cv_lib_pthread_pthread_attr_init = yes; th
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-phtread $LIBS"
fi
@@ -4318,13 +4318,13 @@ fi
ICU_USE_THREADS=1
else
-echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pthread_mutex_init in -phtread" >&5
+echo $ECHO_N "checking for pthread_mutex_init in -phtread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-phtread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4387,7 +4387,7 @@ if test $ac_cv_lib_pthread_pthread_mutex_init = yes; t
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-phtread $LIBS"
fi