From: David R. M. <dr...@ma...> - 2005-04-11 23:13:05
|
Update of /cvsroot/fink/web/xml/packaging In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32231 Modified Files: packaging.en.xml Log Message: update environment variable presets Index: packaging.en.xml =================================================================== RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v retrieving revision 1.59 retrieving revision 1.60 diff -u -d -r1.59 -r1.60 --- packaging.en.xml 5 Apr 2005 03:04:00 -0000 1.59 +++ packaging.en.xml 11 Apr 2005 23:07:20 -0000 1.60 @@ -2043,24 +2043,61 @@ Causes certain environment variables to be set in the compile and install phases. This can be used to pass compiler flags etc. to configure scripts and Makefiles. Currently supported variables -are: CC, CFLAGS, CPP, CPPFLAGS, CXX, CXXFLAGS, LD, LDFLAGS, LIBS, -MAKE, MFLAGS, MAKEFLAGS. The value you specify is subject to the +are: +CC, CFLAGS, CPP, CPPFLAGS, CXX, CXXFLAGS, DYLD_LIBRARY_PATH, JAVA_HOME, +LD_PREBIND, LD_PREBIND_ALLOW_OVERLAP, LD_FORCE_NO_PREBIND, LD_SEG_ADDR_TABLE, +LD, LDFLAGS, LIBRARY_PATH, LIBS, MACOSX_DEPLOYMENT_TARGET, MAKE, +MFLAGS, MAKEFLAGS. +The value you specify is subject to the percent expansion described in the last section. A common example: </p> <codeblock>SetCPPFLAGS: -no-cpp-precomp</codeblock> <p> -The variables CPPFLAGS and LDFLAGS are special. They default to -<code>-I%p/include</code> and <code>-L%p/lib</code>, -respectively. If you specify a value for one of these, it will be +Some environment variables have default preset values. +If you specify a value for one of these, it will be prepended to the default value. +The preset variables (and their default values) are: </p> +<codeblock> +CPPFLAGS: -I%p/include +LDFLAGS: -L%p/lib +</codeblock> +<p> +In addition, starting in fink 0.17.0: +</p> +<codeblock> +LD_PREBIND: 1 +LD_PREBIND_ALLOW_OVERLAP: 1 +LD_SEG_ADDR_TABLE: $basepath/var/lib/fink/prebound/seg_addr_table +</codeblock> +<p> +Also, starting in fink 0.24.3 (and 0.23.7), when the distribution is +10.3 or 10.4-transitional we have +</p> +<codeblock> +CXXFLAGS: -fabi-version=1 +</codeblock> +<p> +while when the distribution is 10.4 or later we have +</p> +<codeblock> +CXXFLAGS: -fabi-version=2 +</codeblock> +<p> +Finally, MACOSX_DEPLOYMENT_TARGET is set to a default value depending +on which version of OSX is being run, but setting a value for it for +a package will override (rather than prepend to) the default value. +</p> + </itemd></item> <item><itemt>NoSet<em>ENVVAR</em></itemt> <itemd> <p> -When set to a true value, deactivates the default values for -CPPFLAGS and LDFLAGS mentioned above. That is, if you want LDFLAGS to +When set to a true value, deactivates the default values for the preset +variables (such as +CPPFLAGS, LDFLAGS, CXXFLAGS mentioned above). For +example, if you want LDFLAGS to remain unset, specify <code>NoSetLDFLAGS: true</code> . </p> </itemd></item> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-commits mailing list Fin...@li... https://lists.sourceforge.net/lists/listinfo/fink-commits |