mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: Chao Shin <quakelee@cn.freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mdtest
|
|
PORTVERSION= 1.9.3
|
|
PORTREVISION= 11
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Filesystem metadata benchmark utility
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= tar:tgz
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CFLAGS+= -DDarwin
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= OPENMPI EXAMPLES
|
|
OPENMPI_DESC= Use Open MPI instead of MPICH2
|
|
|
|
OPENMPI_BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpicc:net/openmpi
|
|
OPENMPI_RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:net/openmpi
|
|
OPENMPI_VARS= MPICC=${LOCALBASE}/mpi/openmpi/bin/mpicc
|
|
|
|
OPENMPI_BUILD_DEPENDS_OFF= ${LOCALBASE}/bin/mpicc:net/mpich
|
|
OPENMPI_RUN_DEPENDS_OFF= ${LOCALBASE}/bin/mpirun:net/mpich
|
|
OPENMPI_VARS_OFF= MPICC=${LOCALBASE}/bin/mpicc
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lm)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|