Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 05:10:06 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495552 - head/science/dlib-cpp
Message-ID:  <201903130510.x2D5A6wa047833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903130510.x2D5A6wa047833>