----- Original Message ---- From: Robert Huff <[EMAIL PROTECTED]> > Rachel Florentine writes:
>> Can someone please tell me how to add options to a port build? >> For example, I want to rebuild my openldap with something like >> this: > > Start here: > > man make.conf > man pkgtools.conf Hmm. A little confusing, but if I understood it correctly, what I want to do is: 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 ], } Awaiting your feedback. TIA, Rachel _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"