Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 10:40:57 -0800 (PST)
From:      Rachel Florentine <rachel_florentine@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Building Ports w/ Options, Env
Message-ID:  <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi;=0AWould someone kindly simply edit the following, if that's possible (i=
f 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?=0A=0AHere's what =
I have so far. I don't know if it's correct or not...=0A=0A1. Edit /usr/loc=
al/etc/pkgtools.conf and enable it to read /usr/local/etc/pkgtools.local=0A=
2. Create the local file and add something like this:=0A=0A  MAKE_ENV =3D {=
=0A    '/usr/ports/net/openldap23-server' =3D> [=0A    'CC=3Dgcc',=0A    'C=
PPFLAGS=3D"-I/usr/local/include/openssl/"'=0A    'LDFLAGS=3D"-L/usr/local/l=
ib/"'=0A    ],=0A  }=0A=0AThat would set up the environment, and might actu=
ally be correct as written ;) I'm a whole lot less confident of the followi=
ng:=0A=0A  MAKE_ARGS =3D {=0A    '/usr/ports/net/openldap23-server'=3D> [=
=0A    '--localstatedir=3D/var/run/slapd',=0A    '--enable-spasswd',=0Aetc,=
 etc=0A    ],=0A  }=0A=0ATIA,=0ARachel=0A=0A=0A=0A=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061113184057.32400.qmail>