The configuration script 'icu-config' provided by icu4c does not work,
since there is no libicuuc.so in /usr/local/lib (There is a
libicuuc.so.so.0.0, instead):

$ icu-config --prefix
### icu-config: Can't find /usr/local/lib/libicuuc.so - ICU prefix is wrong.
###      Try the --prefix= or --exec-prefix= options
###      or --detect-prefix
### icu-config: Exitting.

This patch (patches/patch-source_config_icu-config-bottom) fixes it:

$OpenBSD$
--- source/config/icu-config-bottom.orig        Sat Sep 29 15:21:35 2007
+++ source/config/icu-config-bottom     Sat Sep 29 15:22:02 2007
@@ -3,7 +3,7 @@
 ## Copyright (c) 2002-2005, International Business Machines Corporation and
 ## others. All Rights Reserved.

-ICUUC_FILE=${libdir}/${ICULIBS_COMMON_LIB_NAME}
+ICUUC_FILE=${libdir}/${ICULIBS_COMMON_LIB_NAME}.*.*

 #  echo ENABLE RPATH $ENABLE_RPATH and RPATHLDFLAGS=${RPATH_LDFLAGS}
 if [ "x$PKGDATA_MODE" = "x" ]; then

Reply via email to