Date: Mon, 21 Apr 2014 21:35:03 +0200 From: Polytropon <freebsd@edvax.de> To: Fbsd8 <fbsd8@a1poweruser.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.org> 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> <E85E602E-FF49-4EFA-BC6D-6C7A568E63EB@gmail.com> <53556867.5030009@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Apr 2014 14:50:15 -0400, Fbsd8 wrote: > Matthew Pherigo wrote: > > > > --Matt > > > >> On Apr 21, 2014, at 12:48 PM, Fbsd8 <fbsd8@a1poweruser.com> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140421213503.d769f6e3.freebsd>