(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
33 lines
760 B
Makefile
33 lines
760 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cctz
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= z7dr6ut7gs@snkmail.com
|
|
COMMENT= C++ library for handling dates, times, and time zones
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BROKEN_powerpc64= fails to compile: time_tool.cc: 'stoll' is not a member of 'std'
|
|
|
|
GH_ACCOUNT= google
|
|
USE_GITHUB= yes
|
|
USES= compiler:c++11-lib gmake
|
|
|
|
MAKE_ARGS+= CXX=${CXX} \
|
|
EXTRA_CPPFLAGS="-D_POSIX_C_SOURCE=201112L -D_XOPEN_SOURCE=600"
|
|
|
|
PLIST_FILES= include/civil_time.h \
|
|
include/civil_time_detail.h \
|
|
include/time_zone.h lib/libcctz.a
|
|
PORTDOCS= README.md
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|