Date: Fri, 2 Jun 2000 19:59:53 -0700 From: Jeremy Lea <reg@FreeBSD.ORG> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: ports@FreeBSD.ORG Subject: Re: Proposal for USE_* directives in Mk/bsd.port.mk Message-ID: <20000602195953.H302@shale.csir.co.za> In-Reply-To: <20000508140442.B56489@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, May 08, 2000 at 02:04:43PM -0700 References: <20000430105058.B309@shale.csir.co.za> <20000430181355835.KOJS.890.t-mta4.odn.ne.jp@mta4.odn.ne.jp> <20000430120305.C309@shale.csir.co.za> <20000507165002718.RWFG.890.t-mta4.odn.ne.jp@mta4.odn.ne.jp> <20000508140442.B56489@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Mon, May 08, 2000 at 02:04:43PM -0700, David O'Brien wrote: > > Is this an official policy? > > > > Would you like to show me difference between USE_* and WITH_*(WITHOUT_*) > > and HAVE_*. > > > > Is this policy already documented? > > Seconded. I must have missed this. Where is this documented? (providing > some would have made our email exchange over Vim and GTK not needed) I've been really busy recently, and haven't had time to get this into the handbook since sending out the first email below, or the commit which followed it. I waited a week and got no feedback to the first message, and the only response to the commit was Jordan complaining because I broke one port, which happened to break the release build... Silence is consent... Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ Date: Mon, 10 Apr 2000 02:32:37 -0700 From: Jeremy Lea <reg@FreeBSD.ORG> To: freebsd-ports@FreeBSD.ORG Cc: Satoshi Asami <asami@FreeBSD.ORG> Subject: WITH/WITHOUT options cleanup Hi all, I've placed a patch at http://www.freebsd.org/~reg/with.patch, which cleans up the handling of options in ports. Basically these are any things the user can define while building ports. We had a mixture of NO_, WANT_, WITH_, WITHOUT_, DONT_USE_ and USE_, and these were being tested against YES, yes, NO or no. This was confusing. This patch makes two kinds of variables: WITH_FOO - Turns on support for FOO. WITHOUT_FOO - Turns off support for FOO. These are boolean, and should only be tested with defined(). If a port autodetect's support then it should use something like: .if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \ && !defined(WITHOUT_X11)) ... .endif (bsd.port.pre.mk needs to be included before this to get X11BASE). The patch also removes nearly all occurances of WITH_ variables in ports, since I want to be able to scan for the options above automatically. I will write something for the handbook reserving WITH_ and WITHOUT_ as variable names. USE_ should also be reserved for knobs in bsd.port.mk. The ports I've not touched are the emacs/mule/canna cancer^H^H^H set of ports, which have a set of WITH_ options, which should be CONFIGURE_ARGS+= options. I'm scared of breaking these... Also, I've not tried to alter any setttings with have multiple values (like ispell's languages (although these should be WITH_), or glx's chipset). Comments please. -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message From: Jeremy Lea <reg@FreeBSD.org> Date: Sun, 16 Apr 2000 17:19:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/archivers/linux_rar Makefile ports/astro/xplanet Makefile ports/audio/aumix Makefile ports/audio/cdrdao Makefile ports/audio/lame Makefile ports/audio/lame/patches patch-aa ports/audio/replay Makefile ports/audio/sox Makefile ... Sender: owner-cvs-committers@FreeBSD.org reg 2000/04/16 17:19:03 PDT Modified files: archivers/linux_rar Makefile astro/xplanet Makefile audio/aumix Makefile audio/cdrdao Makefile audio/lame Makefile audio/lame/patches patch-aa audio/replay Makefile audio/sox Makefile audio/timidity++ Makefile audio/wmtune Makefile cad/mars Makefile chinese/xemacs Makefile databases/gtksql Makefile databases/postgresql Makefile deskutils/gaddr Makefile devel/glade Makefile devel/kdevelop Makefile devel/kdevelop-i18n Makefile devel/tclreadline Makefile editors/elvis Makefile editors/emacs Makefile editors/emacs20 Makefile editors/emacs20-dl Makefile editors/emacs20-dl/pkg DESCR MESSAGE editors/staroffice5 Makefile editors/vile Makefile editors/xemacs20 Makefile editors/xvile Makefile emulators/quasi88 Makefile ftp/curl Makefile ftp/pavuk Makefile games/acm Makefile games/freeciv Makefile games/quakeforge Makefile german/staroffice5 Makefile graphics/aalib Makefile graphics/gd Makefile graphics/gd/patches patch-ac graphics/gimp1 Makefile graphics/glx Makefile graphics/py-opengl Makefile irc/bitchx Makefile irc/irssi Makefile irc/xchat Makefile japanese/dbskkd-cdb Makefile japanese/jed Makefile japanese/kterm Makefile japanese/kterm16c Makefile japanese/latex2html Makefile japanese/postgresql Makefile net/ppxp Makefile lang/modula-3 Makefile lang/modula-3-lib Makefile lang/python Makefile lang/python+ipv6 Makefile mail/exim Makefile mail/exmh2 Makefile mail/ezmlm-idx Makefile mail/mutt Makefile mail/postfix Makefile mail/zmailer Makefile math/gnuplot+ Makefile math/vtk Makefile misc/gone Makefile misc/mc Makefile net/cvsup Makefile net/mpich Makefile net/mtr Makefile net/netatalk-asun Makefile net/ppxp Makefile net/rsync Makefile net/xisp Makefile security/crack Makefile security/fwtk Makefile security/fwtk/patches patch-az security/heimdal Makefile security/p5-PGP-Sign Makefile security/pidentd Makefile security/ssh Makefile security/ssh2 Makefile sysutils/gkrellm Makefile sysutils/gkrellm/pkg MESSAGE sysutils/ipsc Makefile sysutils/xbattbar Makefile www/netscape3 Makefile www/netscape4-communicator Makefile www/udmsearch Makefile x11/wdm Makefile x11-wm/afterstep Makefile x11-wm/afterstep-devel Makefile x11-wm/afterstep-stable Makefile x11-wm/blackbox Makefile x11-wm/fvwm2-i18n Makefile x11-wm/fvwm95-i18n Makefile x11-wm/windowmaker Makefile x11-wm/windowmaker-i18n Makefile Log: Standardize all user defined options to the booleans WITH_FOO and WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports Revision Changes Path 1.13 +2 -2 ports/archivers/linux_rar/Makefile 1.5 +11 -11 ports/astro/xplanet/Makefile 1.21 +4 -4 ports/audio/aumix/Makefile 1.16 +7 -8 ports/audio/cdrdao/Makefile 1.10 +3 -3 ports/audio/lame/Makefile 1.4 +1 -1 ports/audio/lame/patches/patch-aa 1.18 +4 -4 ports/audio/replay/Makefile 1.15 +2 -2 ports/audio/sox/Makefile 1.20 +6 -6 ports/audio/timidity++/Makefile 1.8 +3 -3 ports/audio/wmtune/Makefile 1.17 +2 -2 ports/cad/mars/Makefile 1.3 +6 -12 ports/chinese/xemacs/Makefile 1.6 +11 -11 ports/databases/gtksql/Makefile 1.54 +22 -28 ports/databases/postgresql/Makefile 1.7 +3 -3 ports/deskutils/gaddr/Makefile 1.21 +5 -5 ports/devel/glade/Makefile 1.9 +4 -4 ports/devel/kdevelop/Makefile 1.10 +4 -4 ports/devel/kdevelop-i18n/Makefile 1.7 +7 -7 ports/devel/tclreadline/Makefile 1.4 +3 -3 ports/editors/elvis/Makefile 1.45 +2 -2 ports/editors/emacs/Makefile 1.48 +5 -7 ports/editors/emacs20/Makefile 1.17 +3 -5 ports/editors/emacs20-dl/Makefile 1.8 +1 -1 ports/editors/emacs20-dl/pkg/DESCR 1.3 +1 -1 ports/editors/emacs20-dl/pkg/MESSAGE 1.13 +4 -4 ports/editors/staroffice5/Makefile 1.23 +5 -5 ports/editors/vile/Makefile 1.35 +3 -3 ports/editors/xemacs20/Makefile 1.25 +11 -12 ports/editors/xvile/Makefile 1.5 +4 -4 ports/emulators/quasi88/Makefile 1.16 +2 -2 ports/ftp/curl/Makefile 1.17 +3 -3 ports/ftp/pavuk/Makefile 1.23 +3 -4 ports/games/acm/Makefile 1.33 +4 -4 ports/games/freeciv/Makefile 1.5 +6 -6 ports/games/quakeforge/Makefile 1.7 +4 -4 ports/german/staroffice5/Makefile 1.12 +7 -10 ports/graphics/aalib/Makefile 1.22 +4 -4 ports/graphics/gd/Makefile 1.7 +4 -4 ports/graphics/gd/patches/patch-ac 1.68 +6 -9 ports/graphics/gimp1/Makefile 1.7 +5 -5 ports/graphics/glx/Makefile 1.5 +2 -4 ports/graphics/py-opengl/Makefile 1.14 +6 -6 ports/irc/bitchx/Makefile 1.27 +5 -5 ports/irc/irssi/Makefile 1.49 +7 -7 ports/irc/xchat/Makefile 1.4 +5 -7 ports/japanese/dbskkd-cdb/Makefile 1.4 +12 -12 ports/japanese/jed/Makefile 1.25 +6 -11 ports/japanese/kterm/Makefile 1.22 +6 -11 ports/japanese/kterm16c/Makefile 1.6 +4 -4 ports/japanese/latex2html/Makefile 1.13 +20 -25 ports/japanese/postgresql/Makefile 1.13 +3 -3 ports/net/ppxp/Makefile 1.37 +3 -3 ports/lang/modula-3/Makefile 1.23 +3 -3 ports/lang/modula-3-lib/Makefile 1.65 +4 -6 ports/lang/python/Makefile 1.63 +8 -13 ports/lang/python+ipv6/Makefile 1.47 +27 -27 ports/mail/exim/Makefile 1.41 +2 -2 ports/mail/exmh2/Makefile 1.10 +5 -5 ports/mail/ezmlm-idx/Makefile 1.82 +5 -5 ports/mail/mutt/Makefile 1.19 +3 -3 ports/mail/postfix/Makefile 1.4 +2 -2 ports/mail/zmailer/Makefile 1.10 +6 -6 ports/math/gnuplot+/Makefile 1.6 +4 -7 ports/math/vtk/Makefile 1.7 +5 -5 ports/misc/gone/Makefile 1.45 +2 -2 ports/misc/mc/Makefile 1.38 +4 -4 ports/net/cvsup/Makefile 1.16 +6 -9 ports/net/mpich/Makefile 1.23 +3 -3 ports/net/mtr/Makefile 1.15 +6 -6 ports/net/netatalk-asun/Makefile 1.14 +0 -0 ports/net/ppxp/Makefile 1.41 +2 -2 ports/net/rsync/Makefile 1.4 +2 -2 ports/net/xisp/Makefile 1.16 +3 -3 ports/security/crack/Makefile 1.19 +2 -2 ports/security/fwtk/Makefile 1.2 +1 -1 ports/security/fwtk/patches/patch-az 1.14 +5 -12 ports/security/heimdal/Makefile 1.11 +9 -9 ports/security/p5-PGP-Sign/Makefile 1.31 +4 -4 ports/security/pidentd/Makefile 1.94 +15 -17 ports/security/ssh/Makefile 1.96 +15 -17 ports/security/ssh2/Makefile 1.7 +4 -5 ports/sysutils/gkrellm/Makefile 1.2 +1 -1 ports/sysutils/gkrellm/pkg/MESSAGE 1.6 +7 -7 ports/sysutils/ipsc/Makefile 1.4 +2 -2 ports/sysutils/xbattbar/Makefile 1.40 +8 -6 ports/www/netscape3/Makefile 1.65 +5 -5 ports/www/netscape4-communicator/Makefile 1.6 +6 -6 ports/www/udmsearch/Makefile 1.37 +4 -4 ports/x11/wdm/Makefile 1.33 +3 -3 ports/x11-wm/afterstep/Makefile 1.42 +2 -2 ports/x11-wm/afterstep-devel/Makefile 1.38 +5 -5 ports/x11-wm/afterstep-stable/Makefile 1.32 +3 -3 ports/x11-wm/blackbox/Makefile 1.20 +4 -5 ports/x11-wm/fvwm2-i18n/Makefile 1.32 +4 -4 ports/x11-wm/fvwm95-i18n/Makefile 1.67 +6 -6 ports/x11-wm/windowmaker/Makefile 1.71 +5 -5 ports/x11-wm/windowmaker-i18n/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000602195953.H302>