summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-01-28 13:39:41 +0000
committerjbeich <jbeich@FreeBSD.org>2015-01-28 13:39:41 +0000
commit4034e00e69c3c00c3bf010cb0622250605a55847 (patch)
tree871e376478bf54387cb50da288123a8ffb3c7d90
parente917ec5e9d4578efa86d1e37249dd405b9af37e0 (diff)
downloadFreeBSD-ports-4034e00e69c3c00c3bf010cb0622250605a55847.zip
FreeBSD-ports-4034e00e69c3c00c3bf010cb0622250605a55847.tar.gz
Build using lang/gcc* to avoid runtime issues with old -lgcc_s or Clang
Absence of RPATH leads to mypaint loading old libgcc_s.so.1 from base first which later breaks |import numpy| as libgfortran wants newer version. On 10.0+ the issue is masked by Clang failing to instantiate some templates. PR: 188382 PR: 193429 Differential Revision: https://reviews.freebsd.org/D1616 Approved by: bapt (mentor)
-rw-r--r--graphics/mypaint/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile
index 2268e92..5782288 100644
--- a/graphics/mypaint/Makefile
+++ b/graphics/mypaint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mypaint
PORTVERSION= 1.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://download.gna.org/mypaint/ \
http://mirror.amdmi3.ru/distfiles/
@@ -22,7 +22,8 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} \
USE_GNOME= glib20 pygtk2
MAKE_ARGS= prefix="${PREFIX}"
-USES= gettext pkgconfig scons tar:bzip2 python
+# XXX gcc-c++11-lib to fix runtime issues with old -lgcc_s and Clang
+USES= compiler:gcc-c++11-lib gettext pkgconfig scons tar:bzip2 python
INSTALLS_ICONS= yes
SUB_FILES= pkg-install
OpenPOWER on IntegriCloud