Summary: | database/postgresql-* ports: missing CONFLICTS | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Sergiy Vyshnevetskiy <serg> | ||||
Component: | Individual Port(s) | Assignee: | Palle Girgensohn <girgen> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Sergiy Vyshnevetskiy
2006-10-06 21:40:28 UTC
Responsible Changed From-To: freebsd-ports-bugs->girgen Over to maintainer Hi! The problem is that a port cannot conflict with itself. Hence all postgresql slave ports that install different version depending on the installation of postgresql-client will never conflict. Here's the relevant rows in Mk/bsd.ports.mk: 3635: if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ 3636: conflicts_with="$${conflicts_with} $${entry}"; \ 3637: fi; \ I think I will have to think of some way to handle this. None of your suggestions really help, unfortunately, since the only way I can think of is to create separate ports for each version of the docs, or to do some better magic in bsd.ports.mk. The latter would be preferred, I think, but I'm not sure. /Palle State Changed From-To: open->analyzed I'll have to work out a working way to handle this. On Tue, 7 Nov 2006, Palle Girgensohn wrote: > Hi! > > The problem is that a port cannot conflict with itself. Hence all postgresql > slave ports that install different version depending on the installation of > postgresql-client will never conflict. Here's the relevant rows in > Mk/bsd.ports.mk: > > 3635: if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; > then \ > 3636: conflicts_with="$${conflicts_with} $${entry}"; \ > 3637: fi; \ > > I think I will have to think of some way to handle this. None of your > suggestions really help, unfortunately, since the only way I can think of is > to create separate ports for each version of the docs, or to do some better > magic in bsd.ports.mk. The latter would be preferred, I think, but I'm not > sure. After some thinking I realized, that the problem I reported concerns postgresql-docs only! Other postgresql-* ports depend on postgresql-client-* and will be deinstalled with it. postgresql-docs doesn't - so it won't. I strongly believe that installing in a path with postgresql version number included will solve the problem. (Different versions of docs doesn't conflict as long as they are in separate folders.) Approximate patch for do-install and post-install targets included. Is it that simple or am I missing something? girgen 2007-09-17 16:45:01 UTC FreeBSD ports repository Modified files: databases/postgresql73-server Makefile distinfo databases/postgresql74-server Makefile distinfo databases/postgresql80-server Makefile distinfo pkg-plist-server databases/postgresql81-server Makefile distinfo pkg-plist-server databases/postgresql82-server Makefile distinfo databases/postgresql-docs Makefile Log: Update PostgreSQL ports to the latest patch releases. PR: ports/104075 Revision Changes Path 1.15 +9 -5 ports/databases/postgresql-docs/Makefile 1.150 +2 -2 ports/databases/postgresql73-server/Makefile 1.48 +12 -12 ports/databases/postgresql73-server/distinfo 1.152 +2 -2 ports/databases/postgresql74-server/Makefile 1.48 +12 -12 ports/databases/postgresql74-server/distinfo 1.166 +2 -2 ports/databases/postgresql80-server/Makefile 1.58 +12 -12 ports/databases/postgresql80-server/distinfo 1.11 +1 -0 ports/databases/postgresql80-server/pkg-plist-server 1.167 +2 -2 ports/databases/postgresql81-server/Makefile 1.56 +12 -12 ports/databases/postgresql81-server/distinfo 1.11 +1 -0 ports/databases/postgresql81-server/pkg-plist-server 1.170 +8 -8 ports/databases/postgresql82-server/Makefile 1.56 +12 -12 ports/databases/postgresql82-server/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: analyzed->closed Committed. Thanks! The postgresql-docs port was modified to install into a version marked subdirectory. |