Re: What's the "right" way to update a port to

2016-08-21 Thread Mojca Miklavec
Dear Gabriel, On 21 August 2016 at 13:32, Yongwei Wu wrote: > On Saturday, 20 August 2016, Gabriel Rosenkoetter wrote: >> >> I'm very new to this mailing list (as of yesterday), but only relatively >> new to using MacPorts (for little things over the past few years). >> >> Recently, I finally got

Re: Fail to execute a custom local portfile

2016-08-21 Thread Brandon Allbery
On Sun, Aug 21, 2016 at 9:37 AM, Giovanni Grieco wrote: > Unable to execute port: Could not open file: /Users/…/Documents/macports/… > /Portfile Remember that this will be executed as the system user "macports". All directories in the path need to have "x" access for other users, and the Portfi

Re: Fail to execute a custom local portfile

2016-08-21 Thread Lawrence Velázquez
> On Aug 21, 2016, at 10:14 AM, Rainer Müller wrote: > >> On 2016-08-21 15:37, Giovanni Grieco wrote: >> >> But I can’t install my package via ‘port install’ because MacPorts >> throws me the following error: >> >> “Unable to execute port: Could not open file: >> /Users/…/Documents/macports/… /

Re: Fail to execute a custom local portfile

2016-08-21 Thread Rainer Müller
On 2016-08-21 15:37, Giovanni Grieco wrote: > But I can’t install my package via ‘port install’ because MacPorts > throws me the following error: > > “Unable to execute port: Could not open file: > /Users/…/Documents/macports/… /Portfile” > > > > I have the file in that directory, I can open a

Fail to execute a custom local portfile

2016-08-21 Thread Giovanni Grieco
Hello, I’m trying to write a local portfile that compiles and sets up a project hosted on github. To test my portfile, I’ve initialised a local repository in /Users/account _name/Documents/macports, followed the standard hierarchy and indexed my package via portindex command. All of these

Re: What's the "right" way to update a port to

2016-08-21 Thread Yongwei Wu
May the following two links? https://trac.macports.org/wiki/howto/InstallingOlderPort https://guide.macports.org/#development.local-repositories On Saturday, 20 August 2016, Gabriel Rosenkoetter wrote: > I'm very new to this mailing list (as of yesterday), but only relatively > new to using Mac