From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 19:36:20 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC446368 for ; Mon, 21 Apr 2014 19:36:20 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A4CC1D6D for ; Mon, 21 Apr 2014 19:36:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-108-40.dynamic.qsc.de [92.195.108.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id BED8B2766E; Mon, 21 Apr 2014 21:36:11 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s3LJZ3tJ002129; Mon, 21 Apr 2014 21:35:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 21 Apr 2014 21:35:03 +0200 From: Polytropon To: Fbsd8 Subject: Re: phpmyadmin name in pkgng Message-Id: <20140421213503.d769f6e3.freebsd@edvax.de> In-Reply-To: <53556867.5030009@a1poweruser.com> References: <5353E924.8070409@a1poweruser.com> <5353EA05.9010200@FreeBSD.org> <535526B6.1080706@a1poweruser.com> <53552FCE.6090801@FreeBSD.org> <535559D7.9010408@a1poweruser.com> <53556867.5030009@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2014 19:36:20 -0000 On Mon, 21 Apr 2014 14:50:15 -0400, Fbsd8 wrote: > Matthew Pherigo wrote: > > > > --Matt > > > >> On Apr 21, 2014, at 12:48 PM, Fbsd8 wrote: > >> > >> If phpmyadmin was a pkgng I wouldn't mind installing all those default supported functions that I never use. But since I am using the port method I want to un-select all those default options from the command line. What are the new [make -D] options to un-select then in mass? > > > > Change directory to the port, and run 'make config'. This brings up an interactive dialogue for you to configure the build options for the port. Then run make install to install the package with the custom options you just selected. > > > > However, I'd certainly recommend doing this all through portmaster. > > pkg install portmaster > > portmaster www/phpmyadmin > > > > When you run portmaster, it should bring up the configuration dialog that you would get through make config default. However, if this is not the case, call it with > > portmaster --force-config www/phpmyadmin > > > >> What are the required dependences necessary to get basic phpmyadmin to run? > >> > >> Is there some [make] command option to change the location {directory path} where the phpmyadmin php code gets installed. > >> Some location different than the default /usr/local/www/phpmyadmin > > > > > > > > > Thank you Matthew Pherigo for your reply. > > Besides the [make config] method there is a way to over ride what the > config file contains by coding "with=" and/or "without=" on the [make > install] command line, that way no human intervention is necessary. In the past, there has been such a mechanism which I've been using for things like configuring mplayer. Maybe you can also try this in your case? Go into the port's directory and create a file Makefile.local. In this file, you can define the options (which you can get their names from the port's Makefile). The options usually have the form of WITH_SOMETHING=yes. Downside: When you update your ports tree, the file will be removed, so keep a backup! > My question deals with [what are the operands the go with the "with=" > and/or "without=" make command syntax for the options shown by the > [make config] command for phpmyadmin. That should be possible to conclude from the original Makefile. > About portmaster, My over goal is to keep the port compile time to a > minimum. To that end I do [pkg install xxx] for all the dependents of > the desired port. You can use "make missing" to find out which those are, and also pipe that command's output to "pkg install -y". > Then I code the desired config options on the [make > install] command so no human intervention is required and only the > desired port is compiled. Note that the list of dependencies might change _after_ you have changed options. Also see "make config-recursive" to find out if dependent ports have other options you might want to change. > Now are you saying I can have portmaster > compile the desired port and automatically use packages for all the > ports dependents? With portmaster, you can use the -P and -PP options to _require_ the use of binary packages (as long as they are available). See "man portmaster" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...