Skip to content

Commit

Permalink
Fix CONFLICTS entries of multiple ports
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
stesser committed Jan 10, 2022
1 parent f1661bd commit bcaf25a
Show file tree
Hide file tree
Showing 491 changed files with 868 additions and 220 deletions.
2 changes: 1 addition & 1 deletion archivers/arc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COMMENT= Create & extract files from DOS .ARC files

LICENSE= GPLv2

CONFLICTS= php5-arcanist
CONFLICTS_INSTALL= arcanist-php73 arcanist-php74 arcanist-php80

OPTIONS_DEFINE= DOCS

Expand Down
2 changes: 2 additions & 0 deletions archivers/deco/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ RUN_DEPENDS= arc:archivers/arc \
zoo:archivers/zoo \
flac:audio/flac

CONFLICTS= deco-misc # bin/deco

DARCHIVE_VER= 1.7
DARCHIVE= deco-archive-${DARCHIVE_VER}

Expand Down
2 changes: 2 additions & 0 deletions astro/jday/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip

CONFLICTS_INSTALL= netatalk3

PLIST_FILES= bin/dbd bin/j2d bin/jday \
include/jday.h lib/libjday.a \
lib/libjday.so lib/libjday.so.2 \
Expand Down
2 changes: 2 additions & 0 deletions audio/csound/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ USE_LDCONFIG= yes

CPE_VENDOR= csounds

CONFLICTS_INSTALL= clearsilver go-cs libextractor outguess

CFLAGS_powerpc= -maltivec
CFLAGS_powerpcspe= -DPFFFT_SIMD_DISABLE
CFLAGS_powerpc64= -maltivec
Expand Down
2 changes: 2 additions & 0 deletions audio/grip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ USE_XORG= ice sm x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-werror

CONFLICTS_INSTALL= py*-grip

OPTIONS_DEFINE= CDDA2WAV CDPARANOIA FAAC FLAC LAME NLS VORBIS
OPTIONS_DEFAULT= CDPARANOIA FLAC VORBIS

Expand Down
2 changes: 1 addition & 1 deletion audio/icecast-kh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GH_PROJECT= icecast-kh
USE_GNOME= libxml2 libxslt
USE_RC_SUBR= icecast

CONFLICTS_INSTALL= icecast icecast2
CONFLICTS_INSTALL= icecast

GNU_CONFIGURE= yes
CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE}
Expand Down
2 changes: 2 additions & 0 deletions audio/icecast/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ USE_GNOME= libxml2 libxslt
GNU_CONFIGURE= yes
USE_RC_SUBR= icecast

CONFLICTS_INSTALL= icecast-kh

SUB_FILES= pkg-message

CPE_VENDOR= xiph
Expand Down
2 changes: 2 additions & 0 deletions audio/julius/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ GNU_CONFIGURE= yes
USES= iconv perl5 shebangfix
SHEBANG_FILES= jclient-perl/jclient.pl

INSTALL_CONFLICTS= generate julius-caesariii php*-pear-Text_Highlighter

CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -Wno-return-type
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/ali/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-sp
uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:goleak:v1.1.12:uber_go_goleak/vendor/go.uber.org/goleak

CONFLICTS_INSTALL= ja-mh mmh nmh

PLIST_FILES= bin/ali

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions benchmarks/fio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ GNUPLOT_DESC= Support for plotting graphs

GNUPLOT_BUILD_DEPENDS= ${LOCALBASE}/bin/gnuplot:math/gnuplot

CONFLICTS_INSTALL= py*-Fiona

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fio ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/fio_generate_plots ${STAGEDIR}${PREFIX}/bin
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/flamegraph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ GH_TAGNAME= 810687f

NO_BUILD= yes

CONFLICTS_INSTALL= p5-Devel-NYTProf

SHEBANG_FILES= *.php *.pl *.py *.sh

SOURCE_FILES= aix-perf.pl \
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/iozone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ MAKE_ARGS= ${MAKE_ENV}
ALL_TARGET= freebsd
MAKE_JOBS_UNSAFE= yes

CONFLICTS_INSTALL= iozone21

PLIST_FILES= bin/iozone man/man1/iozone.1.gz

OPTIONS_DEFINE= SSH THREADS
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/iozone21/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PKGNAMESUFFIX= 21
MAINTAINER= [email protected]
COMMENT= Performance Test of Sequential File I/O (older version)

CONFLICTS= iozone-3.*
CONFLICTS_INSTALL= iozone

PLIST_FILES= bin/iozone \
man/man1/iozone.1.gz
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/rubygem-derailed_benchmarks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN_DEPENDS= rubygem-benchmark-ips>=2.0.0:benchmarks/rubygem-benchmark-ips \
USES= gem
USE_RUBY= yes

CONFLICTS_INSTALL= rubygem-gitlab-derailed_benchmarks

NO_ARCH= yes

PLIST_FILES= bin/derailed
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/rubygem-gitlab-derailed_benchmarks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RUN_DEPENDS= rubygem-benchmark-ips>=2.0.0:benchmarks/rubygem-benchmark-ips \
USES= gem
USE_RUBY= yes

CONFLICTS_INSTALL= rubygem-derailed_benchmarks

NO_ARCH= yes

PLIST_FILES= bin/derailed
Expand Down
2 changes: 2 additions & 0 deletions biology/bamutil/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ GH_TUPLE= statgen:libStatGen:v${DISTVERSION}:statgen/libStatGen
MAKE_ENV= LIB_PATH_GENERAL=${WRKSRC}/libStatGen
MAKE_ENV+= INSTALLDIR=${STAGEDIR}${PREFIX}/bin

CONFLICTS_INSTALL= bam

PLIST_FILES= bin/bam

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions biology/cufflinks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ GH_ACCOUNT= cole-trapnell-lab
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
CFLAGS+= -I${LOCALBASE}/include/eigen3 # https://github.com/cole-trapnell-lab/cufflinks/issues/113

CONFLICTS_INSTALL= gffread

PLIST_FILES= bin/compress_gtf \
bin/cuffcompare \
bin/cuffdiff \
Expand Down
2 changes: 2 additions & 0 deletions biology/fasta/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ LICENSE_NAME= fasta
LICENSE_TEXT= May not be sold or incorporated into a commercial product
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept

CONFLICTS_INSTALL= align

WRKSRC= ${WRKDIR}/fasta
SUB_FILES= pkg-message

Expand Down
2 changes: 2 additions & 0 deletions biology/gffread/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ GH_TUPLE= gpertea:gclib:v${DISTVERSION}:gpertea/gclib

INSTALL_TARGET= install-strip

CONFLICTS_INSTALL= cufflinks

PLIST_FILES= bin/gffread

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions biology/gmap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ ONLY_FOR_ARCHS_REASON= upstream supports only x86 and possibly POWER8
USES= gmake perl5
GNU_CONFIGURE= yes

CONFLICTS_INSTALL= cpuid

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C|\.|-|g}
CFLAGS+= -fcommon

Expand Down
2 changes: 2 additions & 0 deletions biology/mummer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}4
USE_LDCONFIG= yes

CONFLICTS_INSTALL= ??-libgd libgd

SHEBANG_FILES= scripts/*.pl
perl_OLD_CMD= __PERL_PATH
_SHEBANG_REINPLACE_ARGS+= -e "s|__BIN_DIR|${PREFIX}/bin|g;s|__AUX_BIN_DIR|${PREFIX}/libexec/mummer|g;s|__SCRIPT_DIR|${PREFIX}/libexec/mummer|g"
Expand Down
2 changes: 2 additions & 0 deletions biology/ncbi-blast+/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ GNU_CONFIGURE= yes
# a postinstall mv.
CONFIGURE_ARGS= AR="ar cr" --without-boost --libdir=${PREFIX}/lib/ncbi-tools++

CONFLICTS_INSTALL= ncbi-cxx-toolkit

WRKSRC_SUBDIR= c++

.include <bsd.port.pre.mk>
Expand Down
2 changes: 2 additions & 0 deletions biology/ncbi-cxx-toolkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-debug --with-dll --without-static \
--without-vdb

CONFLICTS_INSTALL= ncbi-blast+

post-install:
# strip
@${FIND} ${STAGEDIR}${PREFIX}/bin -type f | ${GREP} -v -E '\.(sh|py|pl)$$' | ${XARGS} ${STRIP_CMD}
Expand Down
2 changes: 2 additions & 0 deletions biology/ncbi-entrez-direct/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \
USES= go:modules perl5 shebangfix
USE_GITHUB= nodefault

CONFLICTS_INSTALL= ebook-tools

# Dependency versions:
# make clean extract
# cd ${WRKSRC}/cmd
Expand Down
2 changes: 2 additions & 0 deletions biology/ruby-bio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ BDB4_RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:databases/ruby-bdb
MYSQL_RUN_DEPENDS= rubygem-dbd-mysql>=0:databases/rubygem-dbd-mysql
PGSQL_RUN_DEPENDS= rubygem-dbd-pg>=0:databases/rubygem-dbd-pg

CONFLICTS_INSTALL= rubygem-bio-shell

post-patch:
${RUBY} -i -pe 'gsub(%r"(/etc/bioinformatics/)") { "${PREFIX}" + $$1 }' \
${WRKSRC}/doc/Tutorial.rd \
Expand Down
2 changes: 2 additions & 0 deletions biology/rubygem-bio-shell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ USE_RUBY= yes

NO_ARCH= yes

CONFLICTS_INSTALL= ruby??-bio

PLIST_FILES= bin/bioruby

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions biology/sra-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ FREEBSD_RELEASE= uname -r | cut -d - -f 1
CFLAGS+= -I${WRKSRC}/interfaces/os/sun
CXXFLAGS+= -I${WRKSRC}/interfaces/os/sun

CONFLICTS_INSTALL= kget

BINARY_ALIAS= gcc=${CC} g++=${CXX}

# for port developers, building with these options may fail
Expand Down
2 changes: 2 additions & 0 deletions cad/cascade-compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ MAKE_ENV= FREEBSD_WRKSRC=${WRKSRC} FREEBSD_LOCALBASE=${LOCALBASE}

CMAKE_OFF= BUILD_TESTING

CONFLICTS_INSTALL= cascade

BINARY_ALIAS= flex=${FILESDIR}/flex flex.real=${LOCALBASE}/bin/flex bison=${LOCALBASE}/bin/bison

post-patch:
Expand Down
2 changes: 2 additions & 0 deletions cad/cascade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ PORTDOCS= ex1.gif index.html
PORTEXAMPLES= README.examples ex1.cas ex1.gif ex1.out cascade-mode.el
PLIST_FILES= bin/cascade man/man1/cascade.1.gz

CONFLICTS_INSTALL= cascade-compiler

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
Expand Down
2 changes: 2 additions & 0 deletions cad/dinotrace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ USE_PERL5= build

GNU_CONFIGURE= yes

CONFLICTS_INSTALL= dinotrace dinotrace-emacs_*

INFO= dinotrace
PLIST_FILES= bin/dinotrace

Expand Down
2 changes: 2 additions & 0 deletions cad/fasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ USE_PYTHON= distutils concurrent noflavors autoplist

NO_ARCH= yes

CONFLICTS_INSTALL= fasm SASM

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions chinese/aterm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xim --enable-big5
MAKE_JOBS_UNSAFE= yes

CONFLICTS_INSTALL= aterm

PLIST_FILES= "@(,,4711) bin/aterm" \
man/man1/aterm.1.gz

Expand Down
2 changes: 2 additions & 0 deletions chinese/bitchx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-source__input.c \
${.CURDIR}/files/patch-include__config.h \
${.CURDIR}/files/patch-source__screen.c

CONFLICTS_INSTALL= bitchx

OPTIONS_SLAVE= LATIN

.include "${MASTERDIR}/Makefile"
2 changes: 2 additions & 0 deletions chinese/enscript/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ PKGMESSAGE= ${.CURDIR}/pkg-message

USES+= ghostscript:run

CONFLICTS_INSTALL= enscript-a4 enscript-letter enscript-letterdj

post-patch:
@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
@${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist
Expand Down
2 changes: 2 additions & 0 deletions chinese/eterm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CONFIGURE_ARGS= --enable-trans --enable-utmp \
--with-backspace=bs --without-terminfo \
--enable-multi-charset=big5

CONFLICTS_INSTALL= eterm ja-eterm

PKGDIR= ${.CURDIR}
PLIST= ${MASTERDIR}/pkg-plist

Expand Down
2 changes: 1 addition & 1 deletion chinese/fcitx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \
SUB_FILES= pkg-message
SUB_LIST+= PORTSDIR=${PORTSDIR}

CONFLICTS= zh-scim-fcitx-3.* fcitx5
CONFLICTS= zh-scim-fcitx

USE_GNOME= pango intltool libxml2 introspection
USE_KDE= ecm
Expand Down
2 changes: 2 additions & 0 deletions chinese/hc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ DISTFILES= hc-30.tar.gz hc-supp.tab
MAINTAINER= [email protected]
COMMENT= Hanzi Converter -- converts between GB and BIG-5 codes

CONFLICTS_INSTALL= rubygem-hieracles

WRKSRC= ${WRKDIR}/hc3
EXTRACT_ONLY= hc-30.tar.gz
ALL_TARGET= hc b2g g2b
Expand Down
2 changes: 2 additions & 0 deletions chinese/scim-fcitx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes

CONFIGURE_INSTALL= zh-fcitx

WRKSRC= ${WRKDIR}/fcitx

CONFIGURE_ENV+= SCIM_DATADIR=${PREFIX}/share/scim \
Expand Down
2 changes: 2 additions & 0 deletions comms/hylafax/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ CONFIGURE_ENV= ENVOPTS="${CFLAGS}"
MAKE_ENV+= ROOT=${STAGEDIR}
MAKE_ARGS+= OPTIMIZER="" -DOPTIMIZER

CONFLICTS_INSTALL= mgetty

PORTDOCS= RELEASENOTES-4.3.txt RELEASENOTES-4.4.txt RELEASENOTES-6.0.txt
SUB_FILES= pkg-message

Expand Down
2 changes: 2 additions & 0 deletions comms/mgetty+sendfax/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ ALL_TARGET= noident all
INFO= mgetty
CFLAGS+= -DAUTO_PPP

CONFLICTS_INSTALL= hylafax

MAKE_JOBS_UNSAFE= yes

OPTIONS_DEFINE= FIDO
Expand Down
2 changes: 2 additions & 0 deletions comms/unixcw/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls

CONFLICTS_INSTALL= cw

.ifndef XCWCP
OPTIONS_DEFINE+= ALSA PULSEAUDIO
OPTIONS_DEFAULT+= ALSA PULSEAUDIO
Expand Down
2 changes: 2 additions & 0 deletions comms/wsjtx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ USE_QT= core gui network widgets \
multimedia concurrent printsupport serialport sql sql-sqlite3 \
buildtools_build linguisttools_build qmake_build testlib

CONFLICTS_INSTALL= wsjtz

# for detailed debugging uncomment the next line
#CMAKE_ARGS+= --debug-output --trace
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
Expand Down
2 changes: 2 additions & 0 deletions databases/dbf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_DOC_TO_MAN=""
USE_LDCONFIG= yes

CONFLICTS_INSTALL= rubygem-dbf

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
Expand Down
3 changes: 3 additions & 0 deletions databases/emacsql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ USE_GITHUB= yes
GH_ACCOUNT= skeeto

MAKE_ENV+= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}"

CONFLICTS_INSTALL= emacsql emacsql-emacs_*

ALL_TARGET= binary compile
TEST_TARGET= check

Expand Down
Loading

0 comments on commit bcaf25a

Please sign in to comment.