[MacPorts] #47579: cmake portgroup: an option to specify non-default location of CMakeLists.txt
MacPorts
noreply at macports.org
Mon Apr 27 14:10:00 PDT 2015
#47579: cmake portgroup: an option to specify non-default location of
CMakeLists.txt
-------------------------+----------------------
Reporter: mojca@… | Owner: larryv@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-------------------------+----------------------
I came across a port (submission) where `CMakeLists.txt` is not in the top
dir (#38921). As a consequence one must introduce a fix like this one:
{{{
configure.post_args ${worksrcpath}/build
}}}
(or change a bunch of other variables to achieve the same goal).
While I consider this to be some kind of a "bug", it would be nice if we
had some explicit setting rather than having to overwrite
`configure.post_args` (even though both would currently achieve the same).
Now that you have already introduced a new option (r134128) like
* `cmake.build_dir`
would it perhaps make sense to add also `cmake.<someother>_dir` to denote
the directory where `CMakeLists.txt` is located in case it's not default?
--
Ticket URL: <https://trac.macports.org/ticket/47579>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list