[MacPorts] #51208: icu @55.1 — add a +norename variant

MacPorts noreply at macports.org
Fri Apr 22 05:43:34 PDT 2016

#51208: icu @55.1 — add a +norename variant
 Reporter:  ken.mcglothlen@…           |      Owner:  macports-tickets@…
     Type:  enhancement                |     Status:  new
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:  2.3.4
 Keywords:  icu configuration variant  |       Port:  icu
 From the icu [http://source.icu-
 project.org/repos/icu/icu/trunk/readme.html#RecBuild readme.html] file:

 "Disable renaming: By default, ICU library entry point names have an ICU
 version suffix. Turn this off for a system-level installation, to enable
 upgrading ICU without breaking applications."

 This turned out to be important for one of our applications that wasn't
 handling this gracefully, and because MacPorts is often used in a way that
 could be described as "system-level," it seemed like adding a new default
 variant was the right answer.

 The diff file is very simple, and it seems to work fine. I've added it as
 an attachment as well.

 --- Portfile.orig       2015-04-19 17:30:33.000000000 -0700
 +++ Portfile    2016-04-22 05:11:34.000000000 -0700
 @@ -31,6 +31,13 @@
  worksrcdir      ${name}/source
  set docdir      ${prefix}/share/doc/${name}

 +default_variants   +norename
 +variant norename description {Disable library entry-point renaming} {
 +    configure.args-append \
 +        --disable-renaming
  subport ${name}-docs {
      conflicts           ${name}-doxygen-docs
      supported_archs     noarch


 This is my first submission, so please let me know if I've done anything
 wrong. Thanks.

Ticket URL: <https://trac.macports.org/ticket/51208>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list