Re: port configuration data [was re: firefox & png]
+++ Polytropon [23/08/12 19:17 +0200]: On Thu, 23 Aug 2012 12:41:41 -0400, david coder wrote: it's happened already: in another post here, polytropon gives a more central role to /var/db/ports/png/options. if i understand him correctly, "make showconfig" executed in /usr/ports/graphics/png reads from that file. changes made through "make config" change both that file & files in /usr/local/include & subdirectories thereof. Nothing in /usr/local is going to be changed until "make install" (or "make deinstall" respectively) is executed. In /usr/local/include header files are _installed_ for accessing library functions, mostly a means for programmers to interface with software. But it's correct that you mention /usr/local/include/libpng/pngconf.h here. It's not to be changed by "make configure", but it will be created by "make install", reflecting the properties libpng has been installed with; it's a "machine configurable file for libpng" by its own declaration. It belongs to the png port, _not_ to the port configuration subsystem (which is _independent_ from the ports theirselves. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... thx for the correction & further education, polytropon. much obliged. david coder ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: port configuration data [was re: firefox & png]
On Thu, 23 Aug 2012 12:41:41 -0400, david coder wrote: > it's happened already: in another post here, polytropon gives a more central > role to /var/db/ports/png/options. if i understand him correctly, "make > showconfig" executed in /usr/ports/graphics/png reads from that file. > changes made through "make config" change both that file & files in > /usr/local/include & subdirectories thereof. Nothing in /usr/local is going to be changed until "make install" (or "make deinstall" respectively) is executed. In /usr/local/include header files are _installed_ for accessing library functions, mostly a means for programmers to interface with software. But it's correct that you mention /usr/local/include/libpng/pngconf.h here. It's not to be changed by "make configure", but it will be created by "make install", reflecting the properties libpng has been installed with; it's a "machine configurable file for libpng" by its own declaration. It belongs to the png port, _not_ to the port configuration subsystem (which is _independent_ from the ports theirselves. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
port configuration data [was re: firefox & png]
+++ david coder [23/08/12 12:26 -0400]: +++ Jamie Paul Griffin [23/08/12 07:54 +0100]: [ Polytropon wrote on Thu 23.Aug'12 at 2:00:15 +0200 ] On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote: > thx, i hadn't seen the reply to my earlier message. > > unfortunately, though i've got the png port installed w/ > > OPTIONS=APNG "Animated PNG support" On That should be the default. Anyway, you can always check which options had been in use when building and installing a port: % cat /var/db/ports/png/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for png-1.4.8 _OPTIONS_READ=png-1.4.8 WITH_APNG=true In this example you can see that it has been properly installed. > the install of freebsd fails w/ the error message given below. Sadly the Firefox build error message is not included. > is there something else required in the png makefile or elsewhere that i'm > missing? I'm sure this entry of /usr/ports/UPDATING applies: 20120531: AFFECTS: users of graphics/png AUTHOR: din...@freebsd.org The PNG library has been updated to version 1.5.10. Please rebuild all ports that depend on it. I built Firefox 14 a couple of days ago and png installed is now version 1.5.12. So an updated ports tree should incorporate that change now shouldn't it. true, but from what i have been able to sniff out on my own, ports configuration data are stored in /usr/local/include, not anywhere in the ports tree, so that if png has been installed already & you do a "make showconfig" in /usr/ports/graphics/png, the data are read from files in /usr/local/include, & if you run "make config" in /usr/ports/graphics/png, the files affected by any change are in /usr/local/include, not anywhere in the ports tree. this has been a learning experience for me & prolly will continue to be as others here correct me. david coder ___ it's happened already: in another post here, polytropon gives a more central role to /var/db/ports/png/options. if i understand him correctly, "make showconfig" executed in /usr/ports/graphics/png reads from that file. changes made through "make config" change both that file & files in /usr/local/include & subdirectories thereof. please correct me if i'm wrong. david coder ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Where can I find port configuration options?
n Fri, Feb 26, 2010 at 8:06 AM, Xihong Yin wrote: > I know you can set your options when you build a port. But where can I > find these options for a port? For example, how can I build Firefox with > the option to disable anti-aliasing font? > > Wel the shortterm answer to you problems is somethine like this: make config but for long term you should read man ports and at least the ports section in the handbook. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Where can I find port configuration options?
I know you can set your options when you build a port. But where can I find these options for a port? For example, how can I build Firefox with the option to disable anti-aliasing font? Xihong ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Port Configuration
> On Sun, 17 Sep 2006 14:21:00 -0700 > Chris Maness <[EMAIL PROTECTED]> wrote: > >> The first time one builds a port (i.e. php5), a selection of >> different modules or optional compatibility is shown to the user >> (i.e. apache module). At this point one would make the appropriate >> selections and continue with this build. However, I have noticed, if >> a mistake is made, and you decide to deinstall and reinstall the >> application, there is no such dialog screen again. You are stuck >> with your old choices. I have dried to delete the whole port and >> reinstall it. However, it still does not give you the dialog box >> that allowed you to make the initial selection. How do I fix this? > > in the port-dir, do : make rmconfig (you can also look > in /var/db/ports/) > > -- > grtjs, > albi > Perfect, thanks Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Port Configuration
On Sun, 17 Sep 2006 14:21:00 -0700 Chris Maness <[EMAIL PROTECTED]> wrote: > The first time one builds a port (i.e. php5), a selection of > different modules or optional compatibility is shown to the user > (i.e. apache module). At this point one would make the appropriate > selections and continue with this build. However, I have noticed, if > a mistake is made, and you decide to deinstall and reinstall the > application, there is no such dialog screen again. You are stuck > with your old choices. I have dried to delete the whole port and > reinstall it. However, it still does not give you the dialog box > that allowed you to make the initial selection. How do I fix this? in the port-dir, do : make rmconfig (you can also look in /var/db/ports/) -- grtjs, albi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Port Configuration
Chris Maness wrote: > The first time one builds a port (i.e. php5), a selection of different > modules or optional compatibility is shown to the user (i.e. apache > module). At this point one would make the appropriate selections and > continue with this build. However, I have noticed, if a mistake is > made, and you decide to deinstall and reinstall the application, there > is no such dialog screen again. You are stuck with your old choices. I > have dried to delete the whole port and reinstall it. However, it still > does not give you the dialog box that allowed you to make the initial > selection. How do I fix this? You read the ports(7) man page carefully, and follow the instructions in there. Especially the bits about 'make config'. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Port Configuration
The first time one builds a port (i.e. php5), a selection of different modules or optional compatibility is shown to the user (i.e. apache module). At this point one would make the appropriate selections and continue with this build. However, I have noticed, if a mistake is made, and you decide to deinstall and reinstall the application, there is no such dialog screen again. You are stuck with your old choices. I have dried to delete the whole port and reinstall it. However, it still does not give you the dialog box that allowed you to make the initial selection. How do I fix this? Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recursive port configuration
On Mon, Nov 14, 2005 at 09:46:50AM +0100, Philip Lykke Carlsen wrote: > Monday 14 November 2005 04:40 skrev Giorgos Keramidas: > > On 2005-11-14 02:07, Philip Lykke Carlsen <[EMAIL PROTECTED]> wrote: > > > Hi all.. > > > > > > .. Is there any way to recursively configure the dependencies of a given > > > port? > > > > For those ports that support a 'make config' target, you can > > always use 'config-recursive': > > > > # cd /usr/ports/category/foo > > # make config-recursive > > > > There are some ports that don't support 'config' though, so you > > may have to create a local customization set of options in the > > `/usr/local/etc/pkgtools.conf' file. Look for the comment that > > describes the MAKE_ARGS hash of options. > > > > - Giorgos > > aah.. thanks :-) .. is there any way to get information on the make targets > of > the portssystem?.. I seem to find out only at random.. and I'm not all that > good at reading make-files :-/ The ports(7) manpage is a good place to start. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recursive port configuration
Monday 14 November 2005 04:40 skrev Giorgos Keramidas: > On 2005-11-14 02:07, Philip Lykke Carlsen <[EMAIL PROTECTED]> wrote: > > Hi all.. > > > > .. Is there any way to recursively configure the dependencies of a given > > port? > > For those ports that support a 'make config' target, you can > always use 'config-recursive': > > # cd /usr/ports/category/foo > # make config-recursive > > There are some ports that don't support 'config' though, so you > may have to create a local customization set of options in the > `/usr/local/etc/pkgtools.conf' file. Look for the comment that > describes the MAKE_ARGS hash of options. > > - Giorgos aah.. thanks :-) .. is there any way to get information on the make targets of the portssystem?.. I seem to find out only at random.. and I'm not all that good at reading make-files :-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recursive port configuration
On 2005-11-14 02:07, Philip Lykke Carlsen <[EMAIL PROTECTED]> wrote: > Hi all.. > > .. Is there any way to recursively configure the dependencies of a given port? For those ports that support a 'make config' target, you can always use 'config-recursive': # cd /usr/ports/category/foo # make config-recursive There are some ports that don't support 'config' though, so you may have to create a local customization set of options in the `/usr/local/etc/pkgtools.conf' file. Look for the comment that describes the MAKE_ARGS hash of options. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: recursive port configuration
On Sunday 13 November 2005 05:07 pm, Philip Lykke Carlsen wrote: > Hi all.. > > .. Is there any way to recursively configure the dependencies of a > given port? > > .. there's nothing worse than starting a portupgrade -a before going > to bed and then waking up to a blue configure-screen and discovering > that the show stopped just about 10 minutes after I left the screen > :-/ add BATCH="YES" in /etc/make.conf Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
recursive port configuration
Hi all.. .. Is there any way to recursively configure the dependencies of a given port? .. there's nothing worse than starting a portupgrade -a before going to bed and then waking up to a blue configure-screen and discovering that the show stopped just about 10 minutes after I left the screen :-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"