Date: Fri, 25 May 2012 08:24:29 +0200 From: Polytropon <freebsd@edvax.de> To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: automating menu options in ports (and other ports build questions) Message-ID: <20120525082429.09649741.freebsd@edvax.de> In-Reply-To: <4FBF1EF2.5020400@dreamchaser.org> References: <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <CA%2BtpaK2Rwvg_G8veqh9bwV_KZPx6Tz4pxWr0cVh8ZbPEBg5=pg@mail.gmail.com> <4FBF1EF2.5020400@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120525082429.09649741.freebsd>