[MacPorts] #49711: [cpp-netlib][0.11.2][new port]

MacPorts noreply at macports.org
Mon Nov 16 10:37:54 PST 2015


#49711: [cpp-netlib][0.11.2][new port]
-------------------------+--------------------------------
  Reporter:  nikkoara@…  |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  cpp-netlib  |
-------------------------+--------------------------------

Comment (by nikkoara@…):

 Replying to [comment:2 ryandesign@…]:
 > You can use the require_active_variants procedure in the active_variants
 1.1 portgroup to check for variants of a dependency. For example, in the
 shared variant, you should use require_active_variants to verify that
 boost has not been installed with the no_shared variant. (The boost port's
 variant names are awful and I should change them to no longer use the
 "no_" prefix...)

 Used require_active_variants to constrain the building of static libraries
 only when boost has been built with no_static.

 >
 > You should make the default configuration of the cpp-netlib port such
 that it works with the default configuration of the boost port, in other
 words shared.

 Done.

 >
 > Seems like putting "boost" into the port name would be valuable.

 It seems so. I have no strong opinions on this. I only went with the
 official name.

 >
 > "universal_variant   yes" should be removed because that is the default.

 Done.

 >
 > "worksrcdir          ${distname}" should be removed because that is the
 default.

 Done.

 >
 > In the shared variant, instead of using configure.args-delete and
 configure.args-append, you should use configure.args-replace.
 >

 Done. Thanks for the help.

-- 
Ticket URL: <https://trac.macports.org/ticket/49711#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list