Date: Wed, 15 Nov 2006 00:02:33 -0400 From: "Marc G. Fournier" <scrappy@hub.org> To: Rachel Florentine <rachel_florentine@yahoo.com>, freebsd-questions@freebsd.org Subject: Re: Building Ports w/ Options, Env Message-ID: <132EF2EFDCD6AA8ECCA3FA2C@ganymede.hub.org> In-Reply-To: <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com> References: <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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@hub.org MSN . scrappy@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?132EF2EFDCD6AA8ECCA3FA2C>