Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Jakub Lach
Hello, 

I would like to cleanup my make (ports).conf and as far as I know
some options migrated to the new syntax, some not and some are no longer
used by ports at all, how could I list all currently available options for
whole
port tree?



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Listing-of-all-available-options-in-ports-tree-for-use-in-make-conf-ports-conf-WITHOUT-WITH-as-well--tp5891423.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Scot Hetzel
On Tue, Mar 4, 2014 at 6:10 AM, Jakub Lach jakub_l...@mailplus.pl wrote:
 Hello,

 I would like to cleanup my make (ports).conf and as far as I know
 some options migrated to the new syntax, some not and some are no longer
 used by ports at all, how could I list all currently available options for
 whole port tree?

For each port you have listed in make.conf or ports.conf, you will
need to check the Makefile for each port to see what they use for
setting options.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Jakub Lach
Thanks for reply!

IMHO, port knobs really should be centrally tracked/standardized.
When one would like to set some options globally, it gets really 
ugly really fast e.g.

WITH_OPTIMIZED_CFLAGS=yes
WITH_OPTIMIZED_FLAGS=yes
WITH_OPTIMIZATION=yes
OPTIMIZED_CFLAGS=yes
BUILD_OPTIMIZED=yes
WITH_OCFLAGS=yes

OPTIONS_SET=OCFLAGS OPTIMIZED_CFLAGS

I reckon somebody had a script to printout all available options?

But I may be mistaken.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Listing-of-all-available-options-in-ports-tree-for-use-in-make-conf-ports-conf-WITHOUT-WITH-as-well--tp5891423p5891452.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Thierry Thomas
Le mar  4 mar 14 à 15:05:51 +0100, Jakub Lach jakub_l...@mailplus.pl
 écrivait :
 Thanks for reply!
 
 IMHO, port knobs really should be centrally tracked/standardized.
 When one would like to set some options globally, it gets really 
 ugly really fast e.g.

It used to be in /usr/ports/KNOBS but it was removed some days ago.
Anyway, it's still available in svn, and most of the knobs are described
in /usr/ports/Mk/bsd.options.desc.mk .
-- 
Th. Thomas.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Chad J. Milios

On 3/4/2014 9:40 AM, Thierry Thomas wrote:

Le mar  4 mar 14 à 15:05:51 +0100, Jakub Lach jakub_l...@mailplus.pl
  écrivait :

Thanks for reply!

IMHO, port knobs really should be centrally tracked/standardized.
When one would like to set some options globally, it gets really
ugly really fast e.g.

It used to be in /usr/ports/KNOBS but it was removed some days ago.
Anyway, it's still available in svn, and most of the knobs are described
in /usr/ports/Mk/bsd.options.desc.mk .

from within a port's directory,

make showconfig

will show you the current options set and

make __MAKE_CONF=/dev/null PORT_DBDIR=/var/empty showconfig

will show you the defaults.

Hope this is helpful to you
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Freddie Cash
On Tue, Mar 4, 2014 at 9:55 AM, Chad J. Milios mil...@ccsys.com wrote:

 On 3/4/2014 9:40 AM, Thierry Thomas wrote:

 Le mar  4 mar 14 à 15:05:51 +0100, Jakub Lach jakub_l...@mailplus.pl
   écrivait :

 Thanks for reply!

 IMHO, port knobs really should be centrally tracked/standardized.
 When one would like to set some options globally, it gets really
 ugly really fast e.g.

 It used to be in /usr/ports/KNOBS but it was removed some days ago.
 Anyway, it's still available in svn, and most of the knobs are described
 in /usr/ports/Mk/bsd.options.desc.mk .

 from within a port's directory,

 make showconfig

 will show you the current options set and

 make __MAKE_CONF=/dev/null PORT_DBDIR=/var/empty showconfig

 will show you the defaults.

 Hope this is helpful to you


If those two commands aren't in the Handbook (I'm pretty sure the first one
is), then they should be considered for inclusion.​​  Or, maybe in the
Porter's Handbook?  Or maybe ports(7)?  I can see the second command being
very useful, especially during this transitional stage where people will be
migrating/recreating their make.conf files.  Something I could have used
awhile back, before I just moved to using the binary package repos from
PC-BSD.




-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET)

2014-03-04 Thread Jakub Lach
Thanks for all replies so far, to be precise I was looking
for universal options to be set for all ports, 
/usr/ports/Mk/bsd.options.desc.mk is probably closest, 
but similarly to KNOBS doesn't cover all of them.




--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Listing-of-all-available-options-in-ports-tree-for-use-in-make-conf-ports-conf-WITHOUT-WITH-as-well--tp5891423p5891586.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org