Re: port configuration data [was re: firefox & png]

2012-08-23 Thread david coder

+++ 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]

2012-08-23 Thread Polytropon
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"


Re: Port Configuration

2006-09-17 Thread chris
> 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

2006-09-17 Thread albi
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

2006-09-17 Thread Matthew Seaman
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