View previous topic :: View next topic |
Author |
Message |
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Mon Jun 24, 2002 10:44 pm Post subject: how to tell how something was compiled? |
|
|
Is there anyway to tell what USE options a particular package was compiled with? Either reporting the global $USE at that time, or perhaps just which of the many options availabe a package actually used? _________________ ---
this space for rent |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jun 24, 2002 11:07 pm Post subject: |
|
|
Yes -- find the package in /var/db/pkg/ and it should tell you what USE variables were used during compile time. You can view python's USE variables, for example, by doing:
Code: | less /var/db/pkg/dev-python/python-fchksum-1.6.1/USE |
The same directory will also tell you what CFFLAGS and CXXFLAGS were used as well.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Tue Jun 25, 2002 1:31 am Post subject: |
|
|
OK... that reports the global $USE in use when the package was compiled. But nothing about what use options a particular package actually uses.
Hrm.... _________________ ---
this space for rent |
|
Back to top |
|
|
mb Guru
Joined: 25 Apr 2002 Posts: 355 Location: Hessen | .de
|
Posted: Tue Jun 25, 2002 9:08 am Post subject: |
|
|
hi.. i also would like to see the "feature" that a application suggests a USE-flag e.g. mplayer suggets USE="dvd".... this should only be a hint for about 3-4 seconds
#mb |
|
Back to top |
|
|
|