Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 20:34:29 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   proper use of bsd.port.options.mk
Message-ID:  <4DD09B45.9070306@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I'm confused (yeah, I know, nothing new about that). From 
ports/Mk/bsd.port.options.mk:

# usage:
#
#       .include "bsd.port.options.mk"
#       <deal with user options>
#       .include "bsd.port.pre.mk"
#       <other work, including adjusting dependencies>
#       .include "bsd.port.post.mk"


However the ports I've looked at so far all do:

OPTIONS=	blah

.include <bsd.port.options.mk>

blah

.include <bsd.port.mk>
EOF

I assume that this method works, since it seems like so many ports use 
it. Should the notes in options.mk be updated?

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD09B45.9070306>