[MacPorts] #64021: clamav @0.104.1_1 does not build on PPC Mac OS X 10.4.11, Tiger, because: 'O_SYMLINK' undeclared

MacPorts noreply at macports.org
Sun Jan 30 20:43:56 UTC 2022


#64021: clamav @0.104.1_1 does not build on PPC Mac OS X 10.4.11, Tiger, because:
'O_SYMLINK' undeclared
-----------------------------+--------------------
  Reporter:  ballapete       |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.7.1
Resolution:                  |   Keywords:  tiger
      Port:  legacy-support  |
-----------------------------+--------------------

Comment (by ballapete):

 I am already following Ken, subscribed to clamav-announce and found that
 these two lines would fit into `Portfile`:

 {{{
 compiler.cxx_standard   2014
 configure.cxxflags-append   -std=c++14
 }}}

 `configure` seems to check for modern compilers. `Clang` certainly has
 this standard. And with these two lines `port` will certainly
 automatically select `GCC7` on old systems. (`GCC 4.2` cannot compile.)

 To introduce `clamav-legacy` (Tiger…Lion, Mac OS X 10.4…10.7, os.major
 8…11) it's probably best to open a new case, right? `clamav`s "old system
 support" (`if { ${os.platform} eq "darwin" && ${os.major} < 11 }`) does
 not include `Lion` – should I adjust that?

-- 
Ticket URL: <https://trac.macports.org/ticket/64021#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list