defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. 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, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
36 lines
768 B
Makefile
36 lines
768 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lzbench
|
|
PORTVERSION= 1.7.3
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= benchmarks
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= In-memory benchmark of open-source LZ77/LZSS/LZMA compressors
|
|
|
|
USES= compiler:c11 gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= inikep
|
|
|
|
MAKE_ENV= CODE_FLAGS=-Wno-c++11-narrowing # XXX: for clang 6
|
|
|
|
PLIST_FILES= bin/lzbench
|
|
PORTDOCS= NEWS
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/PROGOS/s,Linux,${OPSYS},' \
|
|
${WRKSRC}/_lzbench/lzbench.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lzbench ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|