Why does bsd.port.mk override make's search for Makefiles...?

Wesley Shields wxs at csh.rit.edu
Thu Jul 8 19:17:29 PDT 2004

On Thu, Jul 08, 2004 at 02:14:50PM -0400, Chuck Swiger wrote:

> As per the subject, why are these set in bsd.port.mk?
> MAKE_FLAGS?=    -f
> MAKEFILE?=      Makefile
> I was just trying to port something that had a "makefile" rather than a 
> "Makefile", and was utterly baffled for a moment as to why make couldn't 
> find this.
> -- 
> -Chuck

Those are set because they are the defaults (almost all software uses
Makefile instead of makefile) but if you come across one that doesn't
just set this in your Makefile...

MAKEFILE=       makefile

-- WXS

More information about the freebsd-ports mailing list