fix icu-config by making it recognize the shared libs naming schema

from Carlos Valiente <superdupont at gmail.com>
ok Vincent Gross (MAINTAINER)
This commit is contained in:
jasper 2007-10-02 20:53:29 +00:00
parent ee2911a655
commit 108c810afa
2 changed files with 14 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2007/08/06 21:17:43 steven Exp $
# $OpenBSD: Makefile,v 1.3 2007/10/02 20:53:29 jasper Exp $
SHARED_ONLY= Yes
COMMENT= International Components for Unicode
DISTNAME= icu4c-3_6-src
PKGNAME= icu4c-3.6p0
PKGNAME= icu4c-3.6p1
SO_VERSION= 0.0
.for _lib in icudata icui18n icuio icule iculx icutu icuuc
SHARED_LIBS+= ${_lib} ${SO_VERSION}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_config_icu-config-bottom,v 1.1 2007/10/02 20:53:29 jasper Exp $
--- source/config/icu-config-bottom.orig Tue Oct 2 22:50:37 2007
+++ source/config/icu-config-bottom Tue Oct 2 22:50:56 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