aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkubaj <pkubaj@FreeBSD.org>2020-02-27 07:39:32 +0800
committerpkubaj <pkubaj@FreeBSD.org>2020-02-27 07:39:32 +0800
commitabe8589fc700fc5ddfdb33c0d7d2ae79bcdcad5c (patch)
tree0ad170f4555e4f285f75ca940a7575e864d48ffc
parent03d2512f4ca55915c7a9f2c07ee434e841e6ebcc (diff)
downloadfreebsd-ports-gnome-abe8589fc700fc5ddfdb33c0d7d2ae79bcdcad5c.tar.gz
freebsd-ports-gnome-abe8589fc700fc5ddfdb33c0d7d2ae79bcdcad5c.tar.zst
freebsd-ports-gnome-abe8589fc700fc5ddfdb33c0d7d2ae79bcdcad5c.zip
graphics/viewnior: fix build on GCC architectures
Use C++11 compiler: /usr/local/lib/libexiv2.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
-rw-r--r--graphics/viewnior/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/viewnior/Makefile b/graphics/viewnior/Makefile
index 8b72f7b39da1..3b734a3dca68 100644
--- a/graphics/viewnior/Makefile
+++ b/graphics/viewnior/Makefile
@@ -13,7 +13,8 @@ LICENSE= GPLv3
LIB_DEPENDS= libexiv2.so:graphics/exiv2
-USES= desktop-file-utils gettext-tools gnome meson ninja pkgconfig
+USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \
+ meson ninja pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= hellosiyan