Date: Wed, 7 Oct 2015 01:36:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398734 - head/benchmarks/mdtest Message-ID: <201510070136.t971akGY018030@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 7 01:36:46 2015 New Revision: 398734 URL: https://svnweb.freebsd.org/changeset/ports/398734 Log: - Switch to USES=tar - Switch to options helpers Modified: head/benchmarks/mdtest/Makefile Modified: head/benchmarks/mdtest/Makefile ============================================================================== --- head/benchmarks/mdtest/Makefile Wed Oct 7 01:36:22 2015 (r398733) +++ head/benchmarks/mdtest/Makefile Wed Oct 7 01:36:46 2015 (r398734) @@ -6,13 +6,13 @@ PORTVERSION= 1.9.3 PORTREVISION= 7 CATEGORIES= benchmarks MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Filesystem metadata benchmark utility LICENSE= GPLv2 +USES= tar:tgz NO_WRKSUBDIR= yes CFLAGS+= -DDarwin @@ -23,17 +23,13 @@ PORTEXAMPLES= * OPTIONS_DEFINE= OPENMPI EXAMPLES OPENMPI_DESC= Use Open MPI instead of MPICH2 -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MOPENMPI} -BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi -RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi -MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc -.else -BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2 -RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 -MPICC= ${LOCALBASE}/bin/mpicc -.endif +OPENMPI_BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi +OPENMPI_RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi +OPENMPI_VARS= MPICC=${LOCALBASE}/mpi/openmpi/bin/mpicc + +OPENMPI_BUILD_DEPENDS_OFF= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2 +OPENMPI_RUN_DEPENDS_OFF= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 +OPENMPI_VARS_OFF= MPICC=${LOCALBASE}/bin/mpicc do-build: (cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lm)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510070136.t971akGY018030>