diff --git a/devel/mercator/Makefile b/devel/mercator/Makefile index 218ae0368c98..2d02d847c9a8 100644 --- a/devel/mercator/Makefile +++ b/devel/mercator/Makefile @@ -1,25 +1,27 @@ PORTNAME= mercator PORTVERSION= 0.3.3 PORTREVISION= 10 CATEGORIES= devel MASTER_SITES= SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION} MAINTAINER= oliver@FreeBSD.org COMMENT= Procedural terrain library WWW= https://www.worldforge.org/index.php/components/mercator/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libwfmath-1.0.so:math/wfmath USES= libtool pathfix pkgconfig compiler:c++11-lib -GNU_CONFIGURE= yes +USE_CXXSTD= c++14 USE_LDCONFIG= yes +GNU_CONFIGURE= yes + CXXFLAGS+= -include wchar.h post-patch: @${REINPLACE_CMD} -e 's|std::lround|lround|g' ${WRKSRC}/Mercator/iround.h .include