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)
This commit is contained in:
Jan Beich 2015-01-28 13:39:41 +00:00
parent c7fe303117
commit 75ee8c50aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378057

View file

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