Before the change shared library had undefined
glEnable() symbol. Easy to test as:
$ LDFLAGS="-Wl,--no-undefined" emerge -1 quarter
.libs/libQuarter_la-QuarterWidget.o: In function `SIM::Coin3D::Quarter::QuarterWidget::initializeGL()':
QuarterWidget.cpp:(.text+0xac6): undefined reference to `glEnable'
Reported-by: Diego Elio Pettenò
Bug: https://bugs.gentoo.org/show_bug.cgi?id=369967
Package-Manager: portage-2.3.0
EAPI=5
-inherit autotools-utils
+inherit autotools-utils flag-o-matic
MY_P="${P/q/Q}"
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
+ virtual/opengl
"
DEPEND="${RDEPEND}
virtual/pkgconfig
DOCS=(AUTHORS NEWS README)
src_configure() {
+ append-libs -lGL #369967, library calls glEnable()
+
local myeconfargs=(
htmldir="${ROOT}usr/share/doc/${PF}/html"
--enable-pkgconfig