aboutsummaryrefslogtreecommitdiff
path: root/math/mumps
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2008-11-10 15:40:43 +0000
committerThierry Thomas <thierry@FreeBSD.org>2008-11-10 15:40:43 +0000
commit77ed548cf3a098850ea6b830cea78d4897447d72 (patch)
treeec4ae761fd97b97f155982d8c95b2f0c35be8eb0 /math/mumps
parentbb763c8264f3a70d3db27ad0244918da6e5a2c32 (diff)
downloadports-77ed548cf3a098850ea6b830cea78d4897447d72.tar.gz
ports-77ed548cf3a098850ea6b830cea78d4897447d72.zip
Notes
Diffstat (limited to 'math/mumps')
-rw-r--r--math/mumps/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/mumps/Makefile b/math/mumps/Makefile
index b1309efaba6b..a4133124ab40 100644
--- a/math/mumps/Makefile
+++ b/math/mumps/Makefile
@@ -134,9 +134,8 @@ do-install:
. endfor
.endif
-.if defined(MAINTAINER_MODE)
regression-test:
-. if defined (WITH_MPI)
+.if defined (WITH_MPI) && defined(MAINTAINER_MODE)
. if !exists(${HOME}/.mpd.conf)
@${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${HOME}/.mpd.conf
${CHMOD} go-r ${HOME}/.mpd.conf
@@ -152,7 +151,7 @@ regression-test:
${LOCALBASE}/mpich2/bin/mpirun -np 3 ./c_example ; \
${ECHO_MSG} "The solution should be (1,2)")
${LOCALBASE}/mpich2/bin/mpdallexit
-. else
+.else
(cd ${WRKSRC}/examples && \
./ssimpletest < input_simpletest_real ; \
./dsimpletest < input_simpletest_real ; \
@@ -161,7 +160,6 @@ regression-test:
${ECHO_MSG} "The solution should be (1,2,3,4,5)" ; \
./c_example ; \
${ECHO_MSG} "The solution should be (1,2)")
-. endif
.endif
.include <bsd.port.post.mk>