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)
This commit is contained in:
Piotr Kubaj 2019-05-04 10:30:27 +00:00
parent 7d85753d53
commit 60f098678a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500802

View file

@ -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 \