[MacPorts] #61123: grepcidr: Not using the right compiler, -arch flags, has no universal variant

MacPorts noreply at macports.org
Sun Sep 6 07:36:55 UTC 2020


#61123: grepcidr: Not using the right compiler, -arch flags, has no universal
variant
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  iEFdev
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:
      Port:  grepcidr    |
-------------------------+----------------------

Comment (by iEFdev):

 Replying to [comment:7 ryandesign]:
 > That output looks good, except that I am surprised to see a reference to
 /usr/local/bin/make. Is that something specific to your MacPorts
 installation?

 [OT] Yes, that was prob my install. Wrote about that here:
 [https://trac.macports.org/ticket/#56463#comment:8 #56463#comment:8]
 earlier tonight. Seems like MP is finding those programs during install,
 even if that path is not in PATH. Rebuilt my install tonight, while having
 `/usr/local` renamed, so it wouldn't pick up ''anything''.

 —

 > Looks like your reinplace would change just a single line:
 >
 > {{{
 >       $(CC) $(CFLAGS) grepcidr.o -o grepcidr
 > }}}
 >
 > so please do that change using a patchfile rather than reinplace.

 Aah, ok. I thought since there was only 1 line to change, a reinstall
 would be easier/better, and to keep everything within 1 file (ie the
 Portfile).


 Replying to [comment:8 ryandesign]:
 > And FYI since this change will alter the installed files (w.r.t. the
 optimization flag they were built with, and the header padding), the
 revision should be increased.

 Yes. Will do.

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


More information about the macports-tickets mailing list