depends_build
Anders F Björklund
afb at macports.org
Wed Aug 17 01:31:41 PDT 2011
Ryan Schmidt wrote:
>> For example, the reduce-algebra build doc has this:
>>
>> GNU make (other versions of "make" are not liable to work), autoconf
>> and automake. Well you can probably survive without having autoconf
>> and automake, but if you have them you should use a reasonably up to
>> date version.
>> For CSL you need a C/C++ development context.
>>
>> These are common. Is it necessary to include them in a depends_build statement?
>
> If reduce-algebra's build system calls autoconf or automake, then you should declare dependencies on them. If it does not, then you should not.
>
> Mac OS X (well, Xcode) has BSD make. If that does not work, and GNU make is truly required, then you should declare a build dependency on gmake (and coerce the software to build with gmake and not make, probably by setting build.cmd to ${prefix}/bin/gmake).
If it really makes a difference, you can set "build.type gnu".
That will make it use GNU make, even if it isn't the default...
On Mac OS X, "make" is a symlink to gnumake so it's already
the default and it's mostly something like "platforms darwin"
--anders
More information about the macports-dev
mailing list