Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403385 - dev-db/mysql-5.1.61 : add static-libs USE support
Summary: dev-db/mysql-5.1.61 : add static-libs USE support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 12:15 UTC by Agostino Sarubbo
Modified: 2014-07-05 17:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-02-13 12:15:15 UTC
Please add static-libs IUSE:


/usr/lib/mysql/libmysqlclient.so.16.0.0
/usr/lib/mysql/libmysqlclient_r.so.16.0.0
/usr/lib/mysql/plugin/ha_innodb_plugin.so.0.0.0
/usr/lib/mysql/plugin/ha_innodb_plugin.so
/usr/lib/mysql/plugin/ha_innodb_plugin.so.0
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib/mysql/libmysqlclient_r.so.16
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.16

/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/plugin/ha_innodb_plugin.a
Comment 1 Brian Evans (RETIRED) gentoo-dev 2014-03-04 15:54:19 UTC
static-libs added to the overlay for 5.5.35+
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2014-04-25 01:09:02 UTC
Closing as 5.5.37 was added to the tree.
Comment 3 Rafał Mużyło 2014-07-05 17:39:06 UTC
...well...

The thing is, unless I'm missing something, it's not really fixed.

Yes, it's likely (as I only looked at the overlay commits) fixed for cmake based releases.

However, 5.1 are still autotools based.

In the eclass, there's this odd snippet:
  if use static ; then
      myconf="${myconf} --with-client-ldflags=-all-static"
      myconf="${myconf} --disable-shared --with-pic"
  else
      myconf="${myconf} --enable-shared --enable-static"
  fi

Is there a reason behind it or should that line actually simply be '--disable-static' ?

So, OK, this useflag seems to have a bit different purpose (static server), yet in such case, 'static-libs' should be added beside it.