From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 15:02:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2DE2106564A for ; Tue, 8 Jun 2010 15:02:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 61D7C8FC14 for ; Tue, 8 Jun 2010 15:02:09 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id D942B3D7CA; Tue, 8 Jun 2010 17:01:50 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o58F1mBx001726; Tue, 8 Jun 2010 17:01:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 8 Jun 2010 17:01:47 +0200 From: Polytropon To: Giorgos Tsiapaliokas Message-Id: <20100608170147.b2375bf7.freebsd@edvax.de> In-Reply-To: References: <20100608161850.566bf6b9.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: can i use flags at once? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2010 15:02:09 -0000 On Tue, 8 Jun 2010 14:47:29 +0000, Giorgos Tsiapaliokas wrote: > for example when i was starting compiling kde i gave the commands, > > /usr/ports/x11/kde4 && make install clean > > after these commands,the kde package "asked" me which flags i want to use. This is okay. As long as options haven't been defined before, they are asked for interactively. For subsequent builds, they are stored. > with packages like this it is easy,but then i left away from the pc and when > i went back i saw that the system wanted my confirmation for some flags. A typical "problem", the solution is easy: "make config-recursive" will ask you PRIOR to any compiling for a specific port and its dependencies. Before knowing about this fine mechanism, I also was very annoyed of this forced interaction that stopped the building process many times. :-) The packages you can install via pkg_add have been compiled using default options, which may or may not fit your particular needs. > can i make all the flags confirmations in the begging of the installiation > of the packages? I mentioned "make config-recursive", but there are also tools like portmaster, portmanager and portupgrade that allow you to "remote- control" the ports system in a comfortable way. There are other make targets that may be interesting, such as the simple "make config", or "make rmconfig" and its recursive variant. See "man 7 ports" for a list of all available targets. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...