Building Ports w/ Options, Env
Marc G. Fournier
scrappy at hub.org
Wed Nov 15 04:02:36 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Now, if this could only be used *within* a ports Makefile to affect other ports
that it depends on while building ... that would be most cool ...
- --On Monday, November 13, 2006 10:40:57 -0800 Rachel Florentine
<rachel_florentine at yahoo.com> wrote:
> Hi;
> Would someone kindly simply edit the following, if that's possible (if I'm
> not too far off how it should be done) so that I can have an example of how
> to build OpenLDAP with the options and env I want?
>
> Here's what I have so far. I don't know if it's correct or not...
>
> 1. Edit /usr/local/etc/pkgtools.conf and enable it to read
> /usr/local/etc/pkgtools.local 2. Create the local file and add something like
> this:
>
> MAKE_ENV = {
> '/usr/ports/net/openldap23-server' => [
> 'CC=gcc',
> 'CPPFLAGS="-I/usr/local/include/openssl/"'
> 'LDFLAGS="-L/usr/local/lib/"'
> ],
> }
>
> That would set up the environment, and might actually be correct as written
> ;) I'm a whole lot less confident of the following:
>
> MAKE_ARGS = {
> '/usr/ports/net/openldap23-server'=> [
> '--localstatedir=/var/run/slapd',
> '--enable-spasswd',
> etc, etc
> ],
> }
>
> TIA,
> Rachel
>
>
>
>
>
>
- ----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org MSN . scrappy at hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFWpFZ4QvfyHIvDvMRAqFoAJ9TdMEZpqghLogn072hnr/NQIc0dgCg3ZQL
/qhPwi6NLdjBNEXb5j3dqjs=
=9H8Y
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list