reduce-algebra portfile

Ryan Schmidt ryandesign at macports.org
Tue Dec 13 20:59:10 PST 2011


On Dec 13, 2011, at 22:46, Mark Brethen wrote:

> On Dec 13, 2011, at 10:04 PM, Ryan Schmidt wrote:
> 
>> On Dec 13, 2011, at 21:58, Mark Brethen wrote:
>> 
>>> :info:configure llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin11-llvm-gcc-4.2': execvp: No such file or directory
>> 
>> ....there is no such thing as darwin11 (or darwin10) for powerpc. How did it come to the conclusion there would be such a file?
> 
> I passed the generic system name "macintel64" using:
> 
> pre-build {
> 	system -W ${worksrcpath}/psl "./make-psl.sh macintel64"
> }
> 
> but I also need to pass parameters to ./make-reduce.sh
> 
> #  usage  make-reduce.sh <PSL_name> <generic_name>
> #
> #  Prerequisites:  configure of the generic system
> #                  cd psl ; ./make-psl.sh      for the PSL system
> #
> # as default the names are 'guessed' like the configured system

And how are you calling make-reduce.sh? Is that your build.cmd? If so, you can set build.args to whatever args you need.

build.dir ${worksrcpath}/psl
build.cmd ./make-psl.sh
build.args macintel64

Or is this still just prelude to making reduce-algebra itself? If so, then just do another system command in pre-build.

pre-build {
	system -W ${worksrcpath}/psl "./make-psl.sh macintel64"
	system -W ${worksrcpath}/psl "./make-reduce.sh macintel64"
}



More information about the macports-dev mailing list