From owner-freebsd-newbies@FreeBSD.ORG Mon Jan 17 10:14:58 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E503B16A4CE for ; Mon, 17 Jan 2005 10:14:58 +0000 (GMT) Received: from asclepius.uwa.edu.au (asclepius3.uwa.edu.au [130.95.128.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB6B643D46 for ; Mon, 17 Jan 2005 10:14:57 +0000 (GMT) (envelope-from zanchey@mussel.ucc.gu.uwa.edu.au) Received: from asclepius.kas (localhost.localdomain [127.0.0.1]) by asclepius.uwa.edu.au (Postfix) with SMTP id 043E0184A15 for ; Mon, 17 Jan 2005 18:14:56 +0800 (WST) Received: from asclepius (localhost.localdomain [127.0.0.1]) by asclepius.prekas (Postfix) with SMTP id E99FB184D6A for ; Mon, 17 Jan 2005 18:14:55 +0800 (WST) X-UWA-Client-IP: 130.95.13.9 (UWA) Received: from mooneye.ucc.gu.uwa.edu.au (mooneye.ucc.gu.uwa.edu.au [130.95.13.9]) by asclepius.input (Postfix) with ESMTP id CFD5A184D63 for ; Mon, 17 Jan 2005 18:14:55 +0800 (WST) Received: by mooneye.ucc.gu.uwa.edu.au (Postfix, from userid 801) id 5214117F53; Mon, 17 Jan 2005 18:14:55 +0800 (WST) Received: from mussel.ucc.gu.uwa.edu.au (mussel.ucc.gu.uwa.edu.au [130.95.13.18]) by mooneye.ucc.gu.uwa.edu.au (Postfix) with ESMTP id ED1B317E0B; Mon, 17 Jan 2005 18:14:54 +0800 (WST) Received: from zanchey (helo=localhost) by mussel.ucc.gu.uwa.edu.au with local-esmtp (Exim 3.36 #1 (Debian)) id 1CqTuQ-0002Bn-00; Mon, 17 Jan 2005 18:14:54 +0800 Date: Mon, 17 Jan 2005 18:14:54 +0800 (WST) From: David Adam To: Lute Mullenix In-Reply-To: <20050117021844.492f6ce0@agnes.myhome.net> Message-ID: References: <41EAD7A9.3000000@nightmare.sh.cvut.cz> <20050117021844.492f6ce0@agnes.myhome.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: David Adam X-SpamTest-Info: Profile: Formal (192/041231) X-SpamTest-Info: Profile: Detect Hard [UCS 290904] X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Marking Spam - Subject (UCS) [02-08-04] X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release cc: freebsd-newbies@freebsd.org Subject: Re: Compile options X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 10:14:59 -0000 "Hello, i am looking for something like USE flags in gentoo GNU/Linux distribution. in the USE variable are defined keywords which are mapped onto compile-options." Lute: I don't think he means that he's looking for USE flags in Gentoo. I read the paragraph as "I would like Gentoo-style USE flags or their equivalents." Delphinus: Having said that, I'm not familiar enough with the ports collection to really know of anything like this. One thing you might like to look at is /usr/local/etc/pkgtools.conf which can be copied and edited from /usr/local/etc/pkgtools.conf.sample (from memory). As documented in http://www.onlamp.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html you can set various make options for ports every time you compile them. I guess you *could* add MAKE_ARGS = { '*' => 'WITH_QT=1 WITH_GTK=0 etc etc', } to /usr/local/etc/pkgtools.conf, but that's almost guaranteed not to work in all cases. You're better off examining each port individually, setting the make options in pkgtools.conf, and then installing with portinstall/ upgrading using portupgrade. No worries, then, David Adam zanchey@ucc.gu.uwa.edu.au