#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 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...) 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. Seems like putting "boost" into the port name would be valuable. "universal_variant yes" should be removed because that is the default. "worksrcdir ${distname}" should be removed because that is the default. In the shared variant, instead of using configure.args-delete and configure.args-append, you should use configure.args-replace. -- Ticket URL: <https://trac.macports.org/ticket/49711#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X