Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2019 10:30:27 +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: r500802 - head/graphics/hdr_tools
Message-ID:  <201905041030.x44AURPU008830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat May  4 10:30:27 2019
New Revision: 500802
URL: https://svnweb.freebsd.org/changeset/ports/500802

Log:
  graphics/hdr_tools: fix build with GCC-based architectures
  
  Replace USES=compiler:features with USES=compiler:c++11-lang. c++11-lang includes features anyway.
  
  This fixes linking errors when base GCC is used:
  /usr/local/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21'
  Approved by:	mentors (implicit approval)

Modified:
  head/graphics/hdr_tools/Makefile

Modified: head/graphics/hdr_tools/Makefile
==============================================================================
--- head/graphics/hdr_tools/Makefile	Sat May  4 09:50:37 2019	(r500801)
+++ head/graphics/hdr_tools/Makefile	Sat May  4 10:30:27 2019	(r500802)
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libpopt.so:devel/popt \
 		libIlmImf.so:graphics/openexr \
 		libMagick++-6.so:graphics/ImageMagick6
 
-USES=		compiler:features gmake pkgconfig tar:tgz
+USES=		compiler:c++11-lang gmake pkgconfig tar:tgz
 NO_WRKSUBDIR=	yes
 
 PROGRAMS=	hdr_adjust hdr_convert hdr_create hdr_denoise hdr_fix_ca \



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