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.
CONFLICTS
automatically sets
IGNORE
, which is more fully documented
in 節 12.15, “Marking a port not installable with BROKEN
,
FORBIDDEN
, or IGNORE
”.
When removing one of several conflicting ports, it is advisable to
retain the CONFLICTS
entries in those other ports
for a few months to cater for users who only update once in a
while.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.