From owner-freebsd-ports@FreeBSD.ORG Sat Nov 11 11:58:04 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A434916A417 for ; Sat, 11 Nov 2006 11:58:04 +0000 (UTC) (envelope-from rachel_florentine@yahoo.com) Received: from web57813.mail.re3.yahoo.com (web57813.mail.re3.yahoo.com [68.142.236.91]) by mx1.FreeBSD.org (Postfix) with SMTP id CD89343D5D for ; Sat, 11 Nov 2006 11:58:03 +0000 (GMT) (envelope-from rachel_florentine@yahoo.com) Received: (qmail 87815 invoked by uid 60001); 11 Nov 2006 11:58:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=h2+a6z5DoLGVDIRK9B0Om7DHXnwlDfq9TLMiJ16e9NiN5dMO24uE94eW5AUFh3nP/6o7l+z8XZFmZT+8+yt81MnpJe+kdgpawYEQUlkZLKqiukrTUypjzXEGUGGdvFLh+sspBOagU8ixcK9WazLw3fmCYXTvqp2xEYEjSrWHuSg= ; Message-ID: <20061111115803.87813.qmail@web57813.mail.re3.yahoo.com> Received: from [69.19.14.35] by web57813.mail.re3.yahoo.com via HTTP; Sat, 11 Nov 2006 03:58:03 PST Date: Sat, 11 Nov 2006 03:58:03 -0800 (PST) From: Rachel Florentine To: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: Simple Question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 11:58:04 -0000 ----- Original Message ----=0AFrom: Robert Huff =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