#51625: ldas-tools being obsoleted --------------------------+--------------------------------- Reporter: ed.maros@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch maintainer Port: ldas-tools | --------------------------+--------------------------------- Comment (by ram@…): Tried updating to the new ports and it failed with the following: {{{ [ram@hastur ~]$ port outdated The following installed ports are outdated: ldas-tools 2.4.2_1 < 20160622_0 [ram@hastur ~]$ sudo port upgrade outdated ---> Computing dependencies for ldas-tools-al Error: Unable to exec port: Can't install ldas-tools-al because conflicting ports are active: port:ldas-tools To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets [ram@hastur ~]$ }}} I added the following code to `ldas-tools-al` to deactivate `ldas-tools` during the `pre-activate` stage (and remove the conflict) and then it all seems to work: {{{ pre-activate { # ldas-tools-al now contains files that used to be provided by ldas- tools if {![catch {set installed [lindex [registry_active ldas-tools] 0]}]} { set _version [lindex $installed 1] if {[vercmp $_version 2.5.0] < 0} { # ldas-tools used to install some files now provided by ldas-tools in versions < 2.5.0 registry_deactivate_composite ldas-tools "" [list ports_nodepcheck 1] } } } }}} If there are no objections to these changes I'll incorporate this into the patch set and push the changes in the morning. -- Ticket URL: <https://trac.macports.org/ticket/51625#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X