From owner-freebsd-questions Tue Feb 25 13:49:41 2003 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 E30E637B401 for ; Tue, 25 Feb 2003 13:49:39 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B55443F85 for ; Tue, 25 Feb 2003 13:49:38 -0800 (PST) (envelope-from mwm-dated-1046641777.69db9f@mired.org) Received: (qmail 20978 invoked from network); 25 Feb 2003 21:49:37 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 25 Feb 2003 21:49:37 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15963.58608.965159.133416@guru.mired.org> Date: Tue, 25 Feb 2003 15:49:36 -0600 To: Antoine Jacoutot Cc: "freebsd-questions@freebsd.org" Subject: saving port settings (Was: stupid question) In-Reply-To: <1046198601.3e5bb9499e7b5@webmail.lphp.org> References: <1046198601.3e5bb9499e7b5@webmail.lphp.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.70 (Pensive) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <1046198601.3e5bb9499e7b5@webmail.lphp.org>, Antoine Jacoutot typed: First, next time choose a better subect. Nearly every original post is a question. > I am sure it is a common question, but I can't find the answer: > - how can I save my defined settings when building a port ? > Putting them in /etc/make.conf does not seem to work. > For exemple, if I want to build imapd with drac support, I go "make > WITH_DRAC=yes install", but I would love to go like "make install", putting > WITH_DRAC=yes in some configuration file somewhere so I don't have to write > nor remember it all the time (especially when upgrading). > Is that even possible ? Use portupgrade, from the ports tree. Then you can do "portupgrade imapd" to update it, and it'll look in $(PREFIX)/etc/pkgtools.conf to see what settings you want to use. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message