Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2006 03:58:03 -0800 (PST)
From:      Rachel Florentine <rachel_florentine@yahoo.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Simple Question
Message-ID:  <20061111115803.87813.qmail@web57813.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
----- Original Message ----=0AFrom: Robert Huff <roberthuff@rcn.com>=0A=0A>=
 Rachel Florentine writes:=0A=0A>>  Can someone please tell me how to add o=
ptions to a port build?=0A>>  For example, I want to rebuild my openldap wi=
th something like=0A>>  this: =0A>=0A>    Start here:=0A>=0A>    man make.c=
onf=0A>    man pkgtools.conf=0A=0AHmm. A little confusing, but if I underst=
ood it correctly, what I want to do is:=0A=0A1. Edit /usr/local/etc/pkgtool=
s.conf and enable it to read /usr/local/etc/pkgtools.local=0A2. Create the =
local file and add something like this:=0A=0A  MAKE_ENV =3D {=0A    '/usr/p=
orts/net/openldap23-server' =3D> [=0A    'CC=3Dgcc',=0A    'CPPFLAGS=3D"-I/=
usr/local/include/openssl/"'=0A    'LDFLAGS=3D"-L/usr/local/lib/"'=0A    ],=
=0A  }=0A=0AThat would set up the environment, and might actually be correc=
t as written ;) I'm a whole lot less confident of the following:=0A=0A  MAK=
E_ARGS =3D {=0A    '/usr/ports/net/openldap23-server'=3D> [=0A    '--locals=
tatedir=3D/var/run/slapd',=0A    '--enable-spasswd',=0Aetc, etc=0A    ],=0A=
=0A  }=0A=0A=0A=0AAwaiting your feedback.=0ATIA,=0ARachel=0A=0A=0A=0A=0A=0A



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