${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if (${CXX:T} == "clang++" && ${OSVERSION} > 902000) || ${OSVERSION} > 1000054
CXXFLAGS+= -stdlib=libc++ -std=c++11
.endif
.include <bsd.port.post.mk>
--- src/utils.h.orig 2013-09-21 17:20:43.538723086 +0000
+++ src/utils.h 2013-09-21 17:21:02.622721058 +0000
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <limits>
#include <iterator>
+#include <algorithm> // std::fill
#ifndef HAVE_ROUND
static inline double round(double x)