[MacPorts] #68687: totp-cli - legacy support broken in go?

MacPorts noreply at macports.org
Mon Nov 13 15:35:16 UTC 2023


#68687: totp-cli - legacy support broken in go?
---------------------------+--------------------
  Reporter:  RobK88        |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  lion
      Port:  totp-cli, go  |
---------------------------+--------------------

Comment (by RobK88):

 I see I did not add legacy support properly.  I also tried the adding the
 following to the Portfile for `totp-cli` but received the same error
 message:


 {{{
 PortGroup           legacysupport 1.1

 pre-build {
 #   Sierra and earlier
     if { ${os.platform} eq "darwin" && ${os.major} < 17 } {
         build.env-append    GO_EXTLINK_ENABLED="1" \
 GO_LDFLAGS="\"-extldflags=${configure.ldflags}\"" \
                             CGO_LDFLAGS="-g -O2 ${configure.ldflags}"
     }
 }
 }}}

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


More information about the macports-tickets mailing list