svn commit: r406301 - head/math/spooles
John Marino
marino at FreeBSD.org
Sun Jan 17 11:18:33 UTC 2016
Author: marino
Date: Sun Jan 17 11:18:31 2016
New Revision: 406301
URL: https://svnweb.freebsd.org/changeset/ports/406301
Log:
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
Modified:
head/math/spooles/Makefile
Modified: head/math/spooles/Makefile
==============================================================================
--- head/math/spooles/Makefile Sun Jan 17 11:12:17 2016 (r406300)
+++ head/math/spooles/Makefile Sun Jan 17 11:18:31 2016 (r406301)
@@ -22,6 +22,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmpich
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"
More information about the svn-ports-head
mailing list