Re: make configure vs first make

2007-11-11 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Le Cocq Michel wrote:
 Hello all, I know the question has been ask many times, but I don't
 understand why some times if I build a port with make install and then
 remove it with pkg_delete and make clean  make clean-depends I can't
 obtain again the configuration screen even if i use make configure ...
 !!!???

That's because you need to do:

   make config

which has a very different effect to 'make configure.'

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNudY8Mjk52CukIwRCPDhAJ9wQVrDxA3w7HLrc9MPUwos+8iOSwCfYfki
t6V06lJWMwirWccBo0wjy0k=
=tndh
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread Le Cocq Michel
Matthew Seaman a écrit :
 
 That's because you need to do:
 
make config
 
 which has a very different effect to 'make configure.'
 
   Matthew
 

can you explain the != ?

thanks

Michel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread [LoN]Kamikaze
Le Cocq Michel wrote:
 Matthew Seaman a écrit :
 That's because you need to do:

make config

 which has a very different effect to 'make configure.'

  Matthew

 
 can you explain the != ?
 
 thanks
 
 Michel

make configure
runs the configure build stage if the port has one.

make config
calls the config dialogue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread Le Cocq Michel
[LoN]Kamikaze a écrit :
 make configure
 runs the configure build stage if the port has one.
 
 make config
 calls the config dialogue

is there a way to entirely clean a ports or remove config file to obtain
the config dialog at the next make or make install

M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread Le Cocq Michel
Le Cocq Michel a écrit :
 is there a way to entirely clean a ports or remove config file to obtain
 the config dialog at the next make or make install

it's written in man 7 ports

thanks

M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread Wojciech Puchar

because you have to type

make config


On Sun, 11 Nov 2007, Le Cocq Michel wrote:

Hello all, I know the question has been ask many times, but I don't 
understand why some times if I build a port with make install and then remove 
it with pkg_delete and make clean  make clean-depends I can't obtain again 
the configuration screen even if i use make configure ... !!!???


Thanks

Michel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [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: make configure vs first make

2007-11-11 Thread Wojciech Puchar


is there a way to entirely clean a ports or remove config file to obtain
the config dialog at the next make or make install


rm -rf /var/db/ports for removing configs of everything

or rm -rf /var/db/ports/someport

it doesn't affect already installed ports, just building process
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make configure vs first make

2007-11-11 Thread Chuck Robey

[LoN]Kamikaze wrote:

Le Cocq Michel wrote:

Matthew Seaman a écrit :

That's because you need to do:

   make config

which has a very different effect to 'make configure.'

Matthew


can you explain the != ?

thanks

Michel


make configure
runs the configure build stage if the port has one.

make config
calls the config dialogue


Use 'make rmconfig' it wipes out the stored options.  Look into the 
Makefile for lines specifying options OPTIONS=


Oh, yeah, the != (which is documented in the make(7) man page, which is 
a very good document) means, send the text in that defition to the 
shell, and set the variable to whatever the shell returns, like


MYNAME != echo $$USER

(you need the two dollar signs, because you want the dollar sign to get 
to the shell, but Make itself will eat the first one, so send two of 
them to get one out to the shell.)


You know one great way to learn make?  in ports, directory Mk, is a 
bunch of make template files, and the one named bsd.port.mk is a 
fantastic doument that clearly illustrates just about every good method 
that's available in BSD's make.  BSD's make is a very, very good one, 
too.  Greatly different than the GNU make.

___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]