wxWidgets

Michael Dickens michaelld at macports.org
Fri Aug 30 07:57:49 PDT 2013


On Fri, Aug 30, 2013, at 10:11 AM, Mojca Miklavec wrote:
> Just to explain (or rather ask). There are five different (sub)ports
> which install the files in their own directory and can be selected
> with "port select --set wxWidgets <name>". The "port select" part
> tries to install a few symlinks to $prefix/share/bakefile/presets/,
> but it cannot because this folder doesn't exist. My main question is
> what would be more appropriate:
> a) all five ports should create empty folders (so that they will exist
> if "port select" will try to install symlinks there)
> b) wxWidgets_select should create those folders
> c) "port select" should check that the folders exist before trying to
> create any simlinks, and if they don't create the folders on demand.
> 
> My preference would be (c) > (b) > (a), but I don't know if (c) can be
> done. In case it cannot, I would try to do (b). Michael did (a) for a
> two or three of those five (sub)ports yesterday.

Interesting question.  Generally: Any wx* port that can be installed
independent of any other wx* port needs to create and keep the
$prefix/share/bakefile/presets/ directory (hence (a)). But, since you're
using a select port, it would be a better place to put such directory
creation (hence, IMHO, (b) > (a)).  Currently, "port select" will not
create directories; hence, (b) is the easiest solution.  That said: I
like the idea of "port select" being a little smarter, so if you're
inclined to hack on that I think you could produce something useful.  I
wonder how others feel about your ordering?  In the meantime, doing (b)
will be a quick and simple solution. - MLD


More information about the macports-dev mailing list