From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 02:22:10 2004 Return-Path: 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 121E916A4CE for ; Tue, 28 Dec 2004 02:22:10 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855DC43D48 for ; Tue, 28 Dec 2004 02:22:09 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.64.9]) by mta10.adelphia.netESMTP <20041228022206.NPBU25543.mta10.adelphia.net@default.chvlva.adelphia.net>; Mon, 27 Dec 2004 21:22:06 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id D4CAAB4F6; Mon, 27 Dec 2004 21:21:52 -0500 (EST) Date: Mon, 27 Dec 2004 21:21:52 -0500 From: Parv To: Jonathan Reeder Message-ID: <20041228022152.GA1171@holestein.holy.cow> Mail-Followup-To: Jonathan Reeder , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: Trouble determining configure options in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 02:22:10 -0000 in message , wrote Jonathan Reeder thusly... > > I'm trying to install the samba3 port, and I'm having trouble > figuring out whether or not the --with-pam config option is being > set. I've looked through the Makefile in /usr/ports/net/samba3, > but I have to admit its not making all that much sense to me. Well, looking in the Makefile, "--with-pam" configure option is added whenever $SAMBA_SUBPORT is not defined (lines 82 & 86 of version 1.132 2004/12/21 12:24:03). I guess -- have no interest whatsoever to be sure -- that in your $SAMBA_SUBPORT would not be defined as net/samba3 seems to be the parent port. > I guess a broader question is, how can you control the options > that you could normally set in ./configure when installing via > ports? One scans for one of $CONFIGURE_ARGS, $CONFIGURE_ENV, $MAKE_ARGS or similar variables. Edit their content as desired. Optionally, make options out of your edits and send a unified diff patch via send-pr. If they are missing, then, /i/ would most likely run "make extract" in the port's directory; change to the extracted source directory; run "./configure" w/ desired options; cd -; run "make (build|install|package)" as appropriate. Done. - Parv --