Opened 3 months ago
Closed 3 months ago
#70464 closed defect (fixed)
claws-mail, nmap, and ncarg have bad OS version conditionals
Reported by: | fhgwright (Fred Wright) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ghosthound, danielluke (Daniel J. Luke), tenomoto (Takeshi Enomoto) | |
Port: | claws-mail, nmap, ncarg |
Description
I stumbled across this:
MacPro:macports-ports fw$ git grep -n '${os.version} *[<>=]' mail/claws-mail/Portfile:58:if {${os.platform} eq "darwin" && ${os.version} < 12} { net/nmap/Portfile:58:if {${os.platform} eq "darwin" && ${os.version} < 13} { science/ncarg/Portfile:171: if {${os.version}>=12} {
In each case, ${os.version}
should almost certainly be ${os.major}
. As it is, 10.4 and 10.5 (darwin 8 and 9) are treated as the most recent systems.
Change History (4)
comment:1 Changed 3 months ago by jmroot (Joshua Root)
comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 3 months ago by danielluke (Daniel J. Luke)
comment:4 Changed 3 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In f3fbbb818abcd77bb1199839f0db20afb86fd1ef/macports-ports (master):