diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-12-11 10:16:35 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-12-11 10:16:35 +0800 |
commit | b9c1df517e58b97bddbd478bfece17aebeee15fe (patch) | |
tree | 4c406134005292648d2558381c00a60294c0127a /graphics | |
parent | 5bf32e9ec04119b56e88249b5a4474bd920567cd (diff) | |
download | freebsd-ports-gnome-b9c1df517e58b97bddbd478bfece17aebeee15fe.tar.gz freebsd-ports-gnome-b9c1df517e58b97bddbd478bfece17aebeee15fe.tar.zst freebsd-ports-gnome-b9c1df517e58b97bddbd478bfece17aebeee15fe.zip |
graphics/vigra: unbreak consumers on 10.* for NUMPY=on
Passing -std=gnu++11 also matches Boost since r450557.
/usr/local/lib/libvigraimpex.so: undefined reference to `operator delete(void*, unsigned int)'
Reported by: antoine (via bug 223922 -exp run)
Submitted by: rakuco (adapted from bug 219484 fix)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/vigra/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index f6c3b63156d5..deae337e1e99 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -3,7 +3,7 @@ PORTNAME= vigra DISTVERSION= 1.11.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -50,6 +50,12 @@ NUMPY_BUILD_DEPENDS= nosetests:devel/py-nose \ NUMPY_RUN_DEPENDS= nosetests:devel/py-nose \ f2py:math/py-numpy NUMPY_LIB_DEPENDS= libboost_python.so:devel/boost-python-libs +# On FreeBSD < 11 libc++ lacks support for sized delete operators. +# GCC dropped the builtin version of these operators in 6+ by +# defaulting to gnu++14. Force c++11 instead. +# For a more detailed discussion see: +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484 +NUMPY_CXXFLAGS= -std=gnu++11 PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DPEENDS= libpng.so:graphics/png |