The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: sect1/para
Context English State
<varname>opt_USE_CABAL</varname>
Adds items to <varname>${USE_CABAL}</varname> depending on <literal>opt</literal> option.
<varname>opt_EXECUTABLES</varname>
Adds items to <varname>${EXECUTABLES}</varname> depending on <literal>opt</literal> option.
<varname>opt_CABAL_FLAGS</varname>
If <option>opt</option> is enabled, append the value to <varname>${CABAL_FLAGS}</varname>. Otherwise, append <literal>-value</literal> to disable the flag.
<varname>FOO_DATADIR_VARS</varname>
For an executable named <literal>FOO</literal> list Haskell packages, whose data files should be accessible by the executable.
<literal>cargo</literal>
Possible arguments: (none)
Uses Cargo for configuring, building, and testing. It can be used to port Rust applications that use the Cargo build system. For more information see <xref linkend="using-cargo"/>.
<literal>charsetfix</literal>
Prevents the port from installing <filename>charset.alias</filename>. This must be installed only by <package role="port">converters/libiconv</package>. <varname>CHARSETFIX_MAKEFILEIN</varname> can be set to a path relative to <varname>WRKSRC</varname> if <filename>charset.alias</filename> is not installed by <filename>${WRKSRC}/Makefile.in</filename>.
<literal>cmake</literal>
Possible arguments: (none), <literal>insource</literal>, <literal>noninja</literal>, <literal>run</literal>
Uses <application>CMake</application> for configuring and building.
By default an out-of-source build is performed, leaving the sources in <varname>WRKSRC</varname> free from build artifacts. With the <literal>insource</literal> argument, an in-source build will be performed instead. Setting it should be the exception when a regular out-of-source build does not work.
By default <application>Ninja</application> is used for the build. In some cases this does not work correctly. With the <literal>noninja</literal> argument, the build will fallback to using regular <command>make</command> for builds. It should only be used if a <application>Ninja</application>-based build does not work.
With the <literal>run</literal> argument, a run dependency is registered in addition to a build dependency.
For more information see <xref linkend="using-cmake"/>.
<literal>compiler</literal>
Possible arguments: (none), <literal>env</literal> (default, implicit), <literal>c++17-lang</literal>, <literal>c++14-lang</literal>, <literal>c++11-lang</literal>, <literal>gcc-c++11-lib</literal>, <literal>c++11-lib</literal>, <literal>c++0x</literal>, <literal>c11</literal>, <literal>openmp</literal>, <literal>nestedfct</literal>, <literal>features</literal>
Determines which compiler to use based on any given wishes. Use <literal>c++17-lang</literal> if the port needs a C++17-capable compiler, <literal>c++14-lang</literal> if the port needs a C++14-capable compiler, <literal>c++11-lang</literal> if the port needs a C++11-capable compiler, <literal>gcc-c++11-lib</literal> if the port needs the <command>g++</command> compiler with a C++11 library, or <literal>c++11-lib</literal> if the port needs a C++11-ready standard library. If the port needs a compiler understanding C++0X, C11, OpenMP, or nested functions, the corresponding parameters should be used.
Use <literal>features</literal> to request a list of features supported by the default compiler. After including <filename>bsd.port.pre.mk</filename> the port can inspect the results using these variables:
<varname>COMPILER_TYPE</varname>: the default compiler on the system, either gcc or clang
<varname>ALT_COMPILER_TYPE</varname>: the alternative compiler on the system, either gcc or clang. Only set if two compilers are present in the base system.
<varname>COMPILER_VERSION</varname>: the first two digits of the version of the default compiler.
<varname>ALT_COMPILER_VERSION</varname>: the first two digits of the version of the alternative compiler, if present.
<varname>CHOSEN_COMPILER_TYPE</varname>: the chosen compiler, either gcc or clang
<varname>COMPILER_FEATURES</varname>: the features supported by the default compiler. It currently lists the C++ library.
<literal>cpe</literal>

Loading…

No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect1/para
Flags
read-only
Source string location
book.translate.xml:22420
String age
a year ago
Source string age
a year ago
Translation file
books/porters-handbook.pot, string 4568