pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: enabling features in packages
hi,
Hello,
I hope this is the right place to ask this. If not just let me know.
Please consider that I am very new to NetBSD.
I have the following problem: I would like to enable for some packages
features which are not enabled by default when building them from
pkgsrc. One example would be, to enable mysql lookups for exim. What
is the right way to do this when using pkgsrc?
take postfix as an example:
there's an 'options.mk' in pkgsrc/mail/postfix; take a look at it,
there is stated:
'(...)
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.postfix
PKG_SUPPORTED_OPTIONS= bdb inet6 ldap mysql mysql4 pcre pgsql sasl tls
.include "../../mk/bsd.options.mk"
(...)'
so edit/create '/etc/mk.conf' and add
'PKG_OPTIONS.postfix=' (plus the option[s] you'd like to have)
then build/install the package...
done.
Any help is highly appreciated.
Best regards,
Serban Udrea
PS. I know that the best way would be to learn from the docs but I am
quite under time pressure.
yes, isn't that always the case ;)
HTH,
--
Timo Schoeler | http://macfinity.net/~tis
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196 90B2 EF68 C851 6E12 2D8A
There are 10 types of people in the world. Those who understand binary
and those who don't.
Home |
Main Index |
Thread Index |
Old Index