Skip to content

portmaster -o to replace multiple ports with 1 (e.g., xorgproto)? #60

@jhgit

Description

@jhgit

Recently a bunch of x11 *proto ports were consolidated with x11/xorgproto. See /usr/ports/MOVED.

Running portmaster -o x11/xorgproto bigreqsproto xproto xextproto xfixesproto (... and so on, enumerating all the installed ports that xorgproto replaces) fails with this kind of problem:

=========================================
.
.
.
===> Registering installation for xorgproto-2018.4 as automatic
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with xproto-7.0.31 (installs files into the same place). Problematic file: /usr/local/include/X11/DECkeysym.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto

===>>> A backup package for bigreqsproto-1.1.2 should
be located in /local/usr/ports/packages/portmaster-backup

===>>> Installation of xorgproto-2018.4 (x11/xorgproto) failed
===>>> Aborting update

=========================================

Is there currently a way to get portmaster to support a rename from N to 1 port like this? I suspect not. Looking at the current code, I think -o only supports 1:1 port replacing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions