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;
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








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