On Thu, 24 May 2012 23:56:02 -0600, Gary Aitken wrote:
> Is there a way to find out what options a package is built with?
I don't think so. A package is just an archive containing
"truncated subtrees" such as bin/, lib/ or man/ of the
compiled programs, ready for install into the /usr/local
directory. It also contains data files such as +COMMENT,
+CONTENTS, +DESC and +MTREE_DIRS.
However, if you have installed from a port, the options
you have set will be stored in /var/db/ports/<name>/options.
I haven't tested yet if a package that _has_ adjustable
options (which obviously have already been adjusted) would
create such a directory and file, but I assume it does not,
as it seems obvious that those are handled by the port
building mechanisms (which aren't in use when you pkg_add
something).
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
freebsd-questions-unsubscribe@free..."
opensubscriber is not affiliated with the authors of this message nor responsible for its content.