Re: [MacPorts] #33259: cmake portgroup: out of source build option, possibly by default
#33259: cmake portgroup: out of source build option, possibly by default ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by rjvbertin@…): The role of `default` would be to set a default value that is applied when the variable hasn't been set already, no? As to your last concern: I think it's not possible to cope with all possible f-ups prophylactically. Someone who sets configure.dir to a non- standard value should be prepared to change configure.post_args accordingly, IMHO. BTW, here's an extract from the qt5-mac Portfile, for the sqlite plugin (which uses qmake instead of cmake, and doesn't do an OOT build): {{{ # for single architecture, easier to use # worksrcdir ${worksrcdir}/qtbase/src/plugins/sqldrivers/sqlite, # but doesn't work for universal build configure.dir ${worksrcpath}/qtbase/src/plugins/sqldrivers/sqlite build.dir ${configure.dir} destroot.dir ${configure.dir} }}} -- Ticket URL: <https://trac.macports.org/ticket/33259#comment:24> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts