tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using -f for make



> The main makefile for a new package I'm working with does not use a standard
> name, so the pkgsrc build process can't find it when it descends to the work
> directory.  How do I tell the package Makefile where the source's makefile
> is?


Use MAKE_FILE. Many examples in pkgsrc.

See pkgsrc Guide (pkgsrc/doc/pkgsrc.txt):

The default value of MAKE_PROGRAM is "gmake" if USE_TOOLS contains 
"gmake", "make" otherwise. The default value of MAKE_FILE is "Makefile", 
and BUILD_TARGET defaults to "all".



Home | Main Index | Thread Index | Old Index