graphics/librsvg2-rust: fix build on GCC architectures

Use newer GCC to link:
libtool: link: cc -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -D_THREAD_SAFE -pthread -I/usr/local/include/harfbuzz -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/rsvg-convert rsvg_convert-rsvg-convert.o  ./.libs/librsvg-2.so -L/usr/local/lib -lpng16 -lz -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lharfbuzz -lxml2 -lpangocairo-1.0 -lcairo -lpthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/librsvg-2.so: undefined reference to `.TOC.'
This commit is contained in:
Piotr Kubaj 2020-08-16 19:53:43 +00:00
parent af990a36cf
commit 0d5ef4c77d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545131

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libharfbuzz.so:print/harfbuzz \
libpng.so:graphics/png
USES= gettext gmake gnome libtool pkgconfig tar:xz
USES= compiler:c11 gettext gmake gnome libtool pkgconfig tar:xz
USE_GNOME= cairo gdkpixbuf2 gnomeprefix libxml2 pango introspection:build
USE_LDCONFIG= yes