How to find out available "make" arguments

Jez Hancock jez.hancock at
Fri May 2 11:58:28 PDT 2003

On Fri, May 02, 2003 at 01:54:44PM -0400, E. J. Cerejo wrote:
> How do I find which arguments are available for a particular port using 
> the make command?
In general read through the Makefile for the port and look for lines
that have 'if .defined' in them.

For example taking /usr/ports/www/apache13/Makefile:

the defined() arguments here indicate that you could issue:


to make apache with the suexec functionality (maybe a bad example
here I think there's more needed to actually include suexec support in
apache!).  Generally though this is how it works.

For information regarding targets to 'make' read:


in there you'll find:
# Default targets and their behaviors:
# fetch			- Retrieves ${DISTFILES} (and ${PATCHFILES} if defined)
#				  into ${DISTDIR} as necessary.

which describes what targets the ports make command can build.

More information about the freebsd-questions mailing list