From owner-freebsd-questions@FreeBSD.ORG Wed Nov 15 04:02:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BC8016A40F for ; Wed, 15 Nov 2006 04:02:36 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6BA943D53 for ; Wed, 15 Nov 2006 04:02:35 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.220]) by hub.org (Postfix) with ESMTP id DFD4911A175; Wed, 15 Nov 2006 00:02:34 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 41907-06; Wed, 15 Nov 2006 00:02:34 -0400 (AST) Received: from ganymede.hub.org (blk-137-79-174.eastlink.ca [24.137.79.174]) by hub.org (Postfix) with ESMTP id 744B0119D7C; Wed, 15 Nov 2006 00:02:34 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 91F7437A93; Wed, 15 Nov 2006 00:02:33 -0400 (AST) Date: Wed, 15 Nov 2006 00:02:33 -0400 From: "Marc G. Fournier" To: Rachel Florentine , freebsd-questions@freebsd.org Message-ID: <132EF2EFDCD6AA8ECCA3FA2C@ganymede.hub.org> In-Reply-To: <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com> References: <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Building Ports w/ Options, Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 04:02:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Now, if this could only be used *within* a ports Makefile to affect other ports that it depends on while building ... that would be most cool ... - --On Monday, November 13, 2006 10:40:57 -0800 Rachel Florentine wrote: > 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 > > > > > > - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFWpFZ4QvfyHIvDvMRAqFoAJ9TdMEZpqghLogn072hnr/NQIc0dgCg3ZQL /qhPwi6NLdjBNEXb5j3dqjs= =9H8Y -----END PGP SIGNATURE-----