diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 385c47857e..0ecb28697e 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -4169,22 +4169,15 @@ PORTVERSION= 1.0 - <makevar>CONFLICTS</makevar> + Conflict handling - If your package cannot coexist with other packages - (because of file conflicts, runtime incompatibility, etc.), - list the other package names in the CONFLICTS - variable. You can use shell globs like * and - ? here. Packages names should be - enumerated the same way they appear in - /var/db/pkg. Please make sure that - CONFLICTS does not match this port's - package itself, or else forcing its installation with - FORCE_PKG_REGISTER will no longer work. - + There are tree different variables to register a conflict + between packages and ports: CONFLICTS, + CONFLICTS_INSTALL and + CONFLICTS_BUILD. - CONFLICTS automatically sets + The conflict variables automatically set the variable IGNORE, which is more fully documented in . @@ -4193,6 +4186,53 @@ PORTVERSION= 1.0 retain the CONFLICTS entries in those other ports for a few months to cater for users who only update once in a while. + + + <makevar>CONFLICTS_INSTALL</makevar> + + If your package cannot coexist with other packages + (because of file conflicts, runtime incompatibilities, etc.), + list the other package names in the + CONFLICTS_INSTALL variable. You can use shell + globs like * and ? here. + Packages names should be enumerated the same way they appear in + /var/db/pkg. Please make sure that + CONFLICTS_INSTALL does not match this port's + package itself. Otherwise enforcing its installation with + FORCE_PKG_REGISTER will no longer work. + The CONFLICTS_INSTALL check is done after the build stage and + prior to the install stage. + + + + <makevar>CONFLICTS_BUILD</makevar> + + If your port cannot be built if a certain port is already + installed, list the other port names in the + CONFLICTS_BUILD variable. You can use shell + globs like * and ? here. + Packages names should be enumerated the same way they appear in + /var/db/pkg. The CONFLICTS_BUILD check is + done prior to the build stage. Build conflicts are not recorded + in the resulting package. + + + + <makevar>CONFLICTS</makevar> + + If your port cannot be built if a certain port is already + installed and the resulting package cannot coexist with the + other package, list the other package name in the + CONFLICTS variable. You can use shell + globs like * and ? here. + Packages names should be enumerated the same way they appear in + /var/db/pkg. Please make sure that + CONFLICTS_INSTALL does not match this port's + package itself. Otherwise enforcing its installation with + FORCE_PKG_REGISTER will no longer work. + The CONFLICTS check is done prior to the build stage and prior to + the install stage. +