Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2020 21:08:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r532980 - head/textproc/uchardet
Message-ID:  <202004252108.03PL8hfa074737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Apr 25 21:08:43 2020
New Revision: 532980
URL: https://svnweb.freebsd.org/changeset/ports/532980

Log:
  textproc/uchardet: fix build on GCC architectures
  
  Use C++11 compiler:
    Target "libuchardet_static" requires the language dialect "CXX11" (with
    compiler extensions), but CMake does not know the compile flags to use to
    enable it.

Modified:
  head/textproc/uchardet/Makefile

Modified: head/textproc/uchardet/Makefile
==============================================================================
--- head/textproc/uchardet/Makefile	Sat Apr 25 20:48:22 2020	(r532979)
+++ head/textproc/uchardet/Makefile	Sat Apr 25 21:08:43 2020	(r532980)
@@ -13,7 +13,7 @@ LICENSE=	GPLv2+ LGPL21+ MPL11
 LICENSE_COMB=	dual
 LICENSE_FILE_MPL11=	${WRKSRC}/COPYING
 
-USES=		cmake pathfix tar:xz
+USES=		cmake compiler:c++11-lang pathfix tar:xz
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man



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