how do you force make install to overwrite conflicting files from another port?

Patrick Powell papowell at astart.com
Fri Jun 3 15:54:49 UTC 2016


Suppose that you have a portA which is a dependency of a lot of other ports.

You also have a portB which is a replacement/update/upgrade for portA.

PortB provides replacements for the executables generated/supplied by 
PortA but for various reasons you still want to use some of PortA 
installed items such as libraries,  etc.

I tried doing the following:

# pkg install PortA
# cd /usr/ports/xxx/PortB
# make install

Installing PortB...
pkg-static: PortB conflicts with PortA (installs files into the same 
place).  Problematic file: /usr/local/bin/utilityl
*** Error code 70

Is there an option, or a way similar to using 'make 
FORCE_PGK_REGISTER=YES install'
to force overwriting the conflicting files?


-- 
Patrick Powell                 Astart Technologies
papowell at astart.com            1530 Jamacha Rd, Suite X
Network and System             San Diego, CA 92019
   Consulting                   858-874-6543 FAX 858-751-2435
Web: www.astart.com



More information about the freebsd-pkg mailing list