> On Nov 22, 2015, at 11:23 PM, Mark Brethen <[email protected]> wrote:
> 
> 
>> On Nov 22, 2015, at 10:36 PM, Ryan Schmidt <[email protected]> wrote:
>> 
>> 
>>> On Nov 22, 2015, at 10:35 PM, Mark Brethen <[email protected]> wrote:
>>> 
>>> 
>>>> On Nov 22, 2015, at 10:26 PM, Ryan Schmidt <[email protected]> wrote:
>>>> 
>>>> 
>>>> Ok, so you have overridden the configure phase. Why? 
>>>> 
>>>> configure {
>>>> system -W ${worksrcpath}/src "${configure.cmd}"
>>>> }
>>>> 
>>>> I'd instead use the default configure phase, just changing it to suit your 
>>>> needs. For example, use:
>>>> 
>>>> configure.dir ${worksrcpath}/src
>>>> 
>>>> If this configure script doesn't understand --prefix=${prefix}, use:
>>>> 
>>>> configure.pre_args
>>>> 
>>>> If this configure script doesn't understand --disable-dependency-tracking, 
>>>> use:
>>>> 
>>>> configure.universal_args
>>>> 
>>>> Also, you should use the github portgroup, since this software is hosted 
>>>> at github.
>>>> 
>>>> 
>>> 
>>> It fails with the message:
>>> 
>>> :info:configure sh: ./configure: No such file or directory
>>> :info:configure Command failed:  cd 
>>> "/opt/local/var/macports/build/_Users_marbre_ports_devel_elkhound/elkhound/work/elkhound-20140803"
>>>  && ./configure --prefix=/opt/local 
>> 
>> That doesn't look like you've changed configure.dir to ${worksrcpath}/src
>> 
>> 
> 
> Yeah, I had that in their but took it out when I overrode configure. Still 
> fails with unknown option:
> 
> :debug:configure Assembled command: 'cd 
> "/opt/local/var/macports/build/_Users_marbre_ports_devel_elkhound/elkhound/work/elkhound-20140803/src"
>  && ./configure --prefix=/opt/local'
> :debug:configure Executing command line:  cd 
> "/opt/local/var/macports/build/_Users_marbre_ports_devel_elkhound/elkhound/work/elkhound-20140803/src"
>  && ./configure --prefix=/opt/local 
> :info:configure unknown option: prefix
> :info:configure Command failed:  cd 
> "/opt/local/var/macports/build/_Users_marbre_ports_devel_elkhound/elkhound/work/elkhound-20140803/src"
>  && ./configure --prefix=/opt/local 
> :info:configure Exit code: 2
> :error:configure org.macports.configure for port elkhound returned: configure 
> failure: command execution failed
> 
> 
> Mark
> 
> 
> 
> 

This appears to work… until bison complains about unknown params (I think they 
were replaced in bison 2 or 3).

Attachment: main.log
Description: Binary data

Attachment: Portfile
Description: Binary data


Mark




_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to