From: Daniel M. <dm...@ne...> - 2004-09-07 12:32:13
|
Modified Files: packaging.en.xml Log Message: Conditionals are now supported in ConfigureParams. Index: packaging.en.xml =================================================================== RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- packaging.en.xml 7 Sep 2004 11:52:24 -0000 1.48 +++ packaging.en.xml 7 Sep 2004 12:28:47 -0000 1.49 @@ -2043,6 +2043,20 @@ <code>Type: Perl</code>, and will append to the default perl Makefile.PL string. </p> +<p> + Starting in fink-0.22.0, this field supports conditionals. The + syntax is the same as that used in the <code>Depends</code> and + other package-list fields. The conditional expression only applies + to the whitespace-delimited "word" immediately following + it. For example +</p> +<codeblock> +Type: -x11 (boolean) +ConfigureParams: --mandir=%p/share/man (%type_pkg[-x11]) --with-x11 --disable-shared +</codeblock> +<p> + will always pass the <code>--mandir</code> and <code>--disable-shared</code> flags, but only pass <code>--with-x11</code> in the -x11 variant. +</p> </itemd></item> <item><itemt>GCC</itemt> |