Date: Wed, 4 May 2005 02:43:27 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: ports@freebsd.org Subject: How to set CONFLICTS properly? Message-ID: <Pine.BSF.4.62.0505040238130.76590@acrux.dbai.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
The current definition of CONFLICTS in Mk/bsd.ports.mk reads: # CONFLICTS - A list of package name patterns that the port conflicts with. # It's possible to use any shell meta-characters for pattern # matching. # E.g. apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* However, CONFLICTS= {gcc-3.3.*,gcc-4.1.*}* fails to detect an installed gcc-3.3.6_20050427 port, whereas `ls $PKG_DBDIR/gcc-{3.3.*,4.1.*}` does indeed find the directory in the database. Why doesn't that CONFLICTS statement work? And how can I mark my port as conflicting both with gcc-3.3.* and gcc-4.1.*, or, in other words, lang/gcc33 and lang/gcc41? Gerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.62.0505040238130.76590>