math/spooles(-mpich): Fix DOCS options

The OPTIONS_DEFINE line was placed after <bsd.ports.pre.mk> meaning the
<bsd.ports.option.mk> file was imported before the options were defined.
This is revealed by SELECTED_OPTIONS showing up blank rather than as
"DOCS".  Move the line before the includes to fix.

Approved by:	just-fix-it
This commit is contained in:
John Marino 2016-01-17 11:18:31 +00:00
parent 9734ee3b4d
commit 178a588a64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406301

View File

@ -22,6 +22,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmpich.a:${PORTSDIR}/net/mpich2
USES= gmake tar:tgz
OPTIONS_DEFINE= DOCS
.if defined(WITH_MPI)
PLIST_SUB+= MPI=""
PLIST_SUB+= MT="@comment "
@ -48,8 +50,6 @@ PICFLAG?= -fpic
.SILENT:
OPTIONS_DEFINE= DOCS
pre-everything::
.if !defined(WITH_MPI)
${ECHO_MSG} "make WITH_MPI=yes for mpich version"