barebones config file

Mark Brethen mark.brethen at gmail.com
Wed Nov 25 12:36:20 PST 2015


> On Nov 23, 2015, at 1:48 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
>> On Nov 22, 2015, at 11:23 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>> 
>>> 
>>> On Nov 22, 2015, at 10:36 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>>> 
>>> 
>>>> On Nov 22, 2015, at 10:35 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>>>> 
>>>> 
>>>>> On Nov 22, 2015, at 10:26 PM, Ryan Schmidt <ryandesign at macports.org> 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
> 
> You didn't clear configure.pre_args as I showed above.
> 
> 
> 
> On Nov 23, 2015, at 12:46 AM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
>> 
>> I added the github portgroup and github.tarball_from releases. It attempts to fetch from https://github.com/WeiDUorg/elkhound/releases/download/2014-08-03, but its located in https://github.com/WeiDUorg/elkhound/archive/2014-08-03.
> 
> 
> elkhound doesn't have any releases. They only have tags. Remove "github.tarball_from releases".
> 
> 

The portfile is running much nicer, thank you. I patched ast which had YYPARSER calls that were changed in bison 2, but haven’t figured out the error reporting function yyerror. I sent a question the help-bison list but haven’t received a response. Is it very active? Anyone know bison?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 1086 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151125/29b5b219/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ast-agrampar.h.diff
Type: application/octet-stream
Size: 1330 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151125/29b5b219/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ast-agrampar.y.diff
Type: application/octet-stream
Size: 383 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151125/29b5b219/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 20346 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151125/29b5b219/attachment-0007.obj>
-------------- next part --------------


Mark






More information about the macports-dev mailing list