aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-11-10 23:40:43 +0800
committerthierry <thierry@FreeBSD.org>2008-11-10 23:40:43 +0800
commit0333dfc4bcc90b9f42c7f5db5fe4591a516f4751 (patch)
treee990868e1df44ec80438b3cde08f28e91e83913f
parent8e418a92b1ea88d6403dddbb96a0c6ecb8ab18ea (diff)
downloadfreebsd-ports-gnome-0333dfc4bcc90b9f42c7f5db5fe4591a516f4751.tar.gz
freebsd-ports-gnome-0333dfc4bcc90b9f42c7f5db5fe4591a516f4751.tar.zst
freebsd-ports-gnome-0333dfc4bcc90b9f42c7f5db5fe4591a516f4751.zip
Take the MAINTAINER_MODE out of the regression-test target (not for the
-mpi case). Submitted by: Pedro F. Giffuni <giffunip (at) yahoo.com>
-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>