disabling the sandbox?

Clemens Lang cal at macports.org
Wed Sep 16 09:27:05 PDT 2015


Hi,
----- On 13 Sep, 2015, at 19:12, Jack Howarth howarth.at.macports at gmail.com wrote:

> Does port have some hidden option which would allow the suppression
> of the use of the sandbox in port during builds? I believe that the
> sandbox is masking a bug under El Capitan which shows up outside of
> port and in our fink builds. Thanks in advance for any info.

Yes, there is a setting to achieve this. On a global level you can set
sandbox_enable no in macports.conf [1], which all affect all
builds. I'm not sure whether this can be changed on a Portfile level,
though. However, there's also portsandbox_active [2,3], which affects
whether commands executed will be sandboxed, so portsandbox_active no
in a Portfile should also give you what you need.


HTH,
Clemens

[1] http://trac.macports.org/browser/trunk/base/src/macports1.0/macports.tcl?marks=1030-1032#L1020
[2] http://trac.macports.org/browser/trunk/base/src/port1.0/portsandbox.tcl?marks=38#L30
[3] http://trac.macports.org/browser/trunk/base/src/pextlib1.0/system.c?marks=91-94,175-176#L85

-- 
Clemens Lang


More information about the macports-dev mailing list