diff options
author | marino <marino@FreeBSD.org> | 2016-01-17 19:18:31 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-01-17 19:18:31 +0800 |
commit | 236a2647f4b3a249ade946c03f7f1fa4a8c5be58 (patch) | |
tree | 143eecea6d3eb029b090f5b6587c2b22e371a896 /math/spooles | |
parent | 10815ce99d71d6db0c2d83f938212659d021378a (diff) | |
download | freebsd-ports-gnome-236a2647f4b3a249ade946c03f7f1fa4a8c5be58.tar.gz freebsd-ports-gnome-236a2647f4b3a249ade946c03f7f1fa4a8c5be58.tar.zst freebsd-ports-gnome-236a2647f4b3a249ade946c03f7f1fa4a8c5be58.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/spooles')
-rw-r--r-- | math/spooles/Makefile | 4 |
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" |