Re: [MacPorts] #42582: p5-libapreq2: fails to build for any perl version except the default one (Can't locate ModPerl/MM.pm)
#42582: p5-libapreq2: fails to build for any perl version except the default one (Can't locate ModPerl/MM.pm) -------------------------------------------------+------------------------- Reporter: st.graef@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: p5-libapreq2 mod_perl2 p5-html- | Keywords: mason p5-http-server-simple-mason | -------------------------------------------------+------------------------- Comment (by devans@…): Currently mod_perl2 only supports perl5.16 and, to support any other, it has to be recompiled with the appropriate perl library. See ticket #46749, concerning adding variants to allow the users to decide which version of perl they might like to use. No matter which perl version is used for mod_perl2, libapreq2 and its dependents must use the same version of perl to build since they want ModPerl/MM.pm which is only installed for the current mod_perl2 perl version. To my mind, this means that these dependent ports must incorporate a way to make sure that for any given perl version they have the corresponding version of mod_perl2 installed. PortGroup active_variants would be one way to do this (assuming mod_perl2 had distinct variants). In the interim, I have removed all but the p5.16 branch of libapreq2 in r132515 to match the current state of mod_perl2. I believe all dependents of libapreq2 also only support p5.16 at this time (p5-html-mason and its dependents). I suggest that this closes the immediate issue of this ticket although the additional issue of providing support for multiple versions of perl in mod_perl2 and its dependents remains. -- Ticket URL: <https://trac.macports.org/ticket/42582#comment:32> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts