ports/179277: math/petsc: remove expired math/petsc-mpich from SLAVE_DIRS
Rene Ladan
rene at FreeBSD.org
Mon Jun 3 22:10:00 UTC 2013
>Number: 179277
>Category: ports
>Synopsis: math/petsc: remove expired math/petsc-mpich from SLAVE_DIRS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 03 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Rene Ladan
>Release: FreeBSD 9.1
>Organization:
>Environment:
FreeBSD ports tree r319807
>Description:
math/petsc-mpich expired on 2012-07-14, but is mentioned by math/petsc. Adjust
the latter port, and pet portlint while there.
>How-To-Repeat:
`Tools/scripts/rmport math/petsc-mpich` mentions this port.
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 319807)
+++ Makefile (working copy)
@@ -14,8 +14,6 @@
RUN_DEPENDS= ksh:${PORTSDIR}/shells/pdksh \
qsub:${PORTSDIR}/sysutils/torque
-SLAVEDIRS= math/petsc-mpich
-
HAS_CONFIGURE= yes
USE_PYTHON= yes
CONFIGURE_SCRIPT= config/configure.py
@@ -54,7 +52,9 @@
--with-umfpack-lib="[${UMFPACK_LIBS:C/^/${L}/:C/,/, ${L}/g}]"
.endif
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
#USE_TEX= latex:build
#BUILD_DEPENDS+= c2html:${PORTSDIR}/textproc/c2html \
@@ -65,8 +65,6 @@
LIBBLACS= ${LOCALBASE}/lib/libblacs.a
MPIDIR= ${LOCALBASE}
-.include <bsd.port.pre.mk>
-
.if exists(${LOCALBASE}/mpi/openmpi/bin/mpirun)
WITH_OPENMPI= yes
MPIDIR= ${LOCALBASE}/mpi/openmpi
@@ -270,7 +268,7 @@
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bin
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bmake
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bmake
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} install_docs)
.endif
@@ -295,4 +293,4 @@
. endif
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list