From owner-freebsd-ports@FreeBSD.ORG Sat Nov 11 13:24:10 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 7C9E316A417 for ; Sat, 11 Nov 2006 13:24:10 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B5043D8A for ; Sat, 11 Nov 2006 13:24:03 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 11 Nov 2006 08:24:04 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MMW86183; Sat, 11 Nov 2006 08:24:00 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 11 Nov 2006 08:24:01 -0500 X-IronPort-AV: i="4.09,413,1157342400"; d="scan'208"; a="310129848:sNHT29414184" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17749.52482.454422.941677@jerusalem.litteratus.org> Date: Sat, 11 Nov 2006 08:15:46 -0500 To: freebsd-ports@freebsd.org In-Reply-To: <20061111115803.87813.qmail@web57813.mail.re3.yahoo.com> References: <20061111115803.87813.qmail@web57813.mail.re3.yahoo.com> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090201.4555CE63.0097,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.121/2006-09-27 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 13:24:10 -0000 Rachel Florentine writes: > MAKE_ENV = { > '/usr/ports/net/openldap23-server' => [ > 'CC=gcc', > 'CPPFLAGS="-I/usr/local/include/openssl/"' > 'LDFLAGS="-L/usr/local/lib/"' As I understand it, the FreeBSD-supplied defaults for this type of variable are set in /etc/defaults/make.conf (which should never be edited), ... overridden on a per-system basis in /etc/make.conf, ... and altered for any given port by the port's Makefile. If the Makefile is missing a necessary/desirable tunable option, then you need to talk to the maintainer. (And I believe your port is actively maintained.) I tend to use pkgtools.conf to reocrd those variables used directly by the port which are not recorded by a "config" dialogue. (See example appended.) I am not a Makefile/configuration guru, and we are now pushing the envelope of what I'm willing to pontificate about. Robert Huff MAKE_ARGS = { 'www/mozilla-devel' => 'BUILD_OFFICIAL=1', 'graphics/gimp' => [ 'WITH_PYTHON=yes', 'WITH_HTML_HELP_BROWSER=yes'], 'www/apache22' => [ '-DWITH_LDAP_MODULES', '-DWITH_MISC_MODULES', '-DWITH_CACHE_MODULES', '-DWITH_SSL_MODULES'], 'editors/xemacs-devel-mule' => [ '-DDISABLE_CONFLICTS'], 'editors/emacs' => [ '-DDISABLE_CONFLICTS'] }