diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-12-03 16:16:40 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-12-03 16:17:11 +0100 |
commit | 77165b807efc2a976f20c98dd6e07c24aa349656 (patch) | |
tree | 7f0d2597c3138f91bf1d3b2c57e147246e2ae062 /dev-libs/icu/files/icu-58.2-darwin.patch | |
parent | app-admin/syslog-ng: version bump to 3.12.1. (diff) | |
download | gentoo-77165b807efc2a976f20c98dd6e07c24aa349656.tar.gz gentoo-77165b807efc2a976f20c98dd6e07c24aa349656.tar.bz2 gentoo-77165b807efc2a976f20c98dd6e07c24aa349656.zip |
dev-libs/icu: add Prefix support
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-libs/icu/files/icu-58.2-darwin.patch')
-rw-r--r-- | dev-libs/icu/files/icu-58.2-darwin.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/icu/files/icu-58.2-darwin.patch b/dev-libs/icu/files/icu-58.2-darwin.patch new file mode 100644 index 000000000000..e5a9000a346c --- /dev/null +++ b/dev-libs/icu/files/icu-58.2-darwin.patch @@ -0,0 +1,55 @@ +same as 4.7, but retargetted to apply with eapply + +--- a/config/mh-darwin ++++ b/config/mh-darwin +@@ -4,6 +4,13 @@ + ## Copyright (c) 1999-2011 International Business Machines Corporation and + ## others. All Rights Reserved. + ++ ++SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) ++FINAL_SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO_TARGET_VERSION).$(SO) ++MIDDLE_SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO_TARGET_VERSION_MAJOR).$(SO) ++ ++IS_DARWIN = yes ++ + ## Flags for position independent code + SHAREDLIBCFLAGS = -dynamic + SHAREDLIBCXXFLAGS = -dynamic +@@ -28,7 +35,7 @@ + ifeq ($(ENABLE_RPATH),YES) + LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET)) + else +-LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET)) ++LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET)) + endif + + ## Compiler switch to embed a runtime search path +--- a/stubdata/Makefile.in ++++ b/stubdata/Makefile.in +@@ -32,7 +32,11 @@ + + + ifneq ($(ENABLE_SHARED),) ++ifeq ($(IS_DARWIN),) + SO_TARGET = $(STUBDATA_LIBDIR)$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX)$(STUB_SUFFIX).$(SO) ++else ++SO_TARGET = $(LIBDIR)/$(STUBDATA_LIBDIR)$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX)$(STUB_SUFFIX).$(SO) ++endif + ALL_SO_TARGETS = $(FINAL_SO_TARGET) $(MIDDLE_SO_TARGET) $(SO_TARGET) $(BATCH_STUB_TARGET) $(SHARED_OBJECT) + endif + +--- a/tools/ctestfw/Makefile.in ++++ b/tools/ctestfw/Makefile.in +@@ -31,7 +31,11 @@ + endif + + ifneq ($(ENABLE_SHARED),) ++ifeq ($(IS_DARWIN),) + SO_TARGET = $(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) ++else ++SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) ++endif + ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT) + endif + |