aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-01-10 14:20:12 +0000
committerStefan Eßer <se@FreeBSD.org>2022-01-10 15:15:39 +0000
commitbcaf25a8c8046b094f6b5ab5bc258333bc326ee1 (patch)
tree3930596b8cbea97540270b3d78ffb64373c89593 /x11-clocks
parentf1661bdbbac2d08cc535e38e41d2bbd3fec025c4 (diff)
downloadports-bcaf25a8c8046b094f6b5ab5bc258333bc326ee1.tar.gz
ports-bcaf25a8c8046b094f6b5ab5bc258333bc326ee1.zip
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either because conflicting ports were added without updating existing ports, due to name changes of generated packages, due to mis-understanding the format and semantics of the conflicts entries, or just due to typoes in package names. This patch is the result of a comparison of all files contained in the official packages with each other. This comparison was based on packages built with default options and may therefore have missed further conflicts with optionally installed files. Where possible, version numbers in conflicts entries have been generalized, some times taking advantage of the fact that a port cannot conflict with itself (due to logic in bsd.port.mk that supresses the pattern match result in that case). A few ports that set the conflicts variables depending on complex conditions (e.g. port options), have been left unmodified, despite probably containing outdated package names. These changes should only affect the installation of locally built ports, not the package building with poudriere. They should give an early indication of the install conflict in cases where currently the pkg command aborts an installation when it detects that an existing file would be overwritten, Approved by: portmgr (implicit)
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/asclock-xlib/Makefile2
-rw-r--r--x11-clocks/asclock/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/x11-clocks/asclock-xlib/Makefile b/x11-clocks/asclock-xlib/Makefile
index b98502d85ea4..5c99bc7389a5 100644
--- a/x11-clocks/asclock-xlib/Makefile
+++ b/x11-clocks/asclock-xlib/Makefile
@@ -7,6 +7,8 @@ MASTER_SITES= LOCAL/kuriyama
MAINTAINER= ports@FreeBSD.org
COMMENT= New flavor of asclock
+CONFLICTS_INSTALL= asclock
+
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/asclock-xlib
diff --git a/x11-clocks/asclock/Makefile b/x11-clocks/asclock/Makefile
index f8a98c980b99..9e03be70dad2 100644
--- a/x11-clocks/asclock/Makefile
+++ b/x11-clocks/asclock/Makefile
@@ -12,7 +12,7 @@ COMMENT= Afterstep clock with some language extensions
LICENSE= BSD2CLAUSE
-CONFLICTS= asclock-gtk asclock-xlib
+CONFLICTS_INSTALL= asclock-xlib
USES= tar:tgz imake xorg
USE_XORG= xpm xext x11