Subject: pkg/30706: swig should conflict with swig-build
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 07/09/2005 15:33:01
>Synopsis: swig should conflict with swig-build
>Arrival-Date: Sat Jul 09 15:33:01 +0000 2005
>Release: NetBSD 2.0_BETA
System: NetBSD pc.martani.n2.repy.czf 2.0_BETA NetBSD 2.0_BETA (ACPI_DEBUG) #2: Sat Aug 7 21:15:26 CEST 2004 firstname.lastname@example.org:/home/pavel/kompilace/jadra/compile/ACPI_DEBUG i386
I am using pkgsrc-2005Q2. I had previously installed swig-build-1.3.19
from autumn 2004. Now I was installing svk, and it installed swig as a
dependency. While installing it, the following was printed:
===> Registering installation for swig-1.3.24
pkg_create: Overwriting /usr/pkg/bin/swig - pkg swig-build-1.3.19 bogus/conflicting?
Mark swig as conflicting with swig-build?
More general fix would be to treat packages which install files already
installed by other packages (this could be determined from PLIST) as
conflicting, without having to have all such cases marked explicitely
(which is error-prone and there will always some case missed).
see the thread: "make install" owerwrites files without asking