link gmake to make (and also manpage)?

Ryan Schmidt ryandesign at macports.org
Tue Jun 11 16:01:38 PDT 2013


On Jun 11, 2013, at 08:46, Jeremy Lavergne wrote:

>>> Besides manually link gmake to make (also manpage), is there a way in
>>> macports to like gmake to make?
>> 
>> Why would you want to do that?
> 
> This will lead to mixing BSD and GNU utilities--probably a bad idea unless you're always accounting for this. Most people don't, and that's why gnumake is not called make on bsd systems.

On OS X (back to 10.2, possibly earlier), /usr/bin/make is already GNU make; it's merely an older version than the one in MacPorts.


$ /usr/bin/make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0


$ /opt/local/bin/gmake --version
GNU Make 3.82
Built for x86_64-apple-darwin12.3.0
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.




More information about the macports-users mailing list