summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-17 11:18:31 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-17 11:18:31 +0000
commit178a588a64ef44b4ad005d563438cdbe122bc041 (patch)
tree143eecea6d3eb029b090f5b6587c2b22e371a896 /math
parent9734ee3b4d48671d79bfdac542a9092b78e72fe5 (diff)
downloadfreebsd-ports-178a588a64ef44b4ad005d563438cdbe122bc041.zip
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
Diffstat (limited to 'math')
-rw-r--r--math/spooles/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/spooles/Makefile b/math/spooles/Makefile
index 95f628a6b49b..3cfce9116b22 100644
--- a/math/spooles/Makefile
+++ b/math/spooles/Makefile
@@ -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"