Opened 7 years ago
Closed 6 years ago
#56057 closed defect (duplicate)
smartmontools: requires C++11
Reported by: | mojca (Mojca Miklavec) | Owned by: | RJVB (René Bertin) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dgonyier (Dwaine Gonyier) | |
Port: | smartmontools |
Description
Smartmontools does not compile on older systems due to lack of some C++11 functionality.
On 10.5 PPC using configure.compiler=macports-gcc-6
helped to build the port successfully.
Change History (6)
comment:1 Changed 7 years ago by RJVB (René Bertin)
comment:3 follow-up: 4 Changed 7 years ago by RJVB (René Bertin)
That's already the case in my own copy, which I recall doing on request (and uploading, here I think):
platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { configure.args-append \ --with-cxx11-option=no } }
(IOW, older systems using libstdc++ will not use C++11, which is of course the preferred solution as long as the project provides the option.)
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 6 years ago by dgonyier (Dwaine Gonyier)
Cc: | dgonyier added |
---|
comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Yes, using a recent GCC should work with most software.