OCE.framework

Mark Brethen mark.brethen at gmail.com
Sat Jun 21 07:39:02 PDT 2014


On Jun 21, 2014, at 2:37 AM, Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Jun 16, 2014, at 7:05 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
>> Should this section be patched to place "OCE.framework" in ${frameworks_dir}? Initially I used post-destroot to move OCE.framework to ${frameworks_dir}. 
> 
> Or possibly they expect you to set CMAKE_INSTALL_PREFIX to ${frameworks_dir} (instead of the default, which is ${prefix}). If that works, and doesn't cause other unrelated items to also go into ${frameworks_dir}, do that. Otherwise, yes, the file will need to be patched to put only the framework in the Frameworks directory.
> 

oce ignores CMAKE_INSTALL_PREFIX, instead using DOCE_INSTALL_PREFIX to install everything; the default is /usr/local. I did not find a command to install the framework to a different location. So I use:

post-destroot {
    move ${destroot}${prefix}/OCE.framework \
        ${destroot}${frameworks_dir}/OCE.framework
}

This solution doesn't require a patch.

Mark






More information about the macports-dev mailing list