svn commit: r495552 - head/science/dlib-cpp
Mark Linimon
linimon at FreeBSD.org
Wed Mar 13 05:10:06 UTC 2019
Author: linimon
Date: Wed Mar 13 05:10:05 2019
New Revision: 495552
URL: https://svnweb.freebsd.org/changeset/ports/495552
Log:
Fix build on gcc-based architectures:
C++11 is required to use dlib, but the version of GCC you are using is too old and doesn't support C++11. You need GCC 4.8 or newer.
Approved by: portmgr (tier-2 blanket)
Modified:
head/science/dlib-cpp/Makefile
Modified: head/science/dlib-cpp/Makefile
==============================================================================
--- head/science/dlib-cpp/Makefile Wed Mar 13 05:09:02 2019 (r495551)
+++ head/science/dlib-cpp/Makefile Wed Mar 13 05:10:05 2019 (r495552)
@@ -12,7 +12,7 @@ COMMENT= Machine learning framework written in C++
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/dlib/LICENSE.txt
-USES= cmake pkgconfig tar:bzip2
+USES= cmake compiler:c++11-lang pkgconfig tar:bzip2
USE_LDCONFIG= yes
OPTIONS_DEFINE= X11 JPEG PNG GIF SQLITE BLASLAPACK PYTHON AVX
More information about the svn-ports-all
mailing list