On Fri, Jun 3, 2016 at 8:26 AM, Patrick Powell <papow...@astart.com> wrote:

> 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?


​Split portA into multiple ports that install the libraries and binaries
and what-not separately, then create a meta-port that installs all of the
new portA ports.

Then create portB and have it CONFLICT with the portA-whatever port so that
it's a drop-in replacement (uninstall portA-whatever, install portB).​



-- 
Freddie Cash
fjwc...@gmail.com
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to