[MacPorts] #47987: djview @4.10 fails to build on PPC 10.5

MacPorts noreply at macports.org
Sun Jan 24 13:26:38 PST 2016


#47987: djview @4.10 fails to build on PPC 10.5
------------------------------+---------------------
  Reporter:  reeskm@…         |      Owner:  nicos@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:  djview, qt4-mac  |
------------------------------+---------------------

Comment (by michaelld@…):

 Are you comfortable with editing a Portfile (at all)? If so, I'd like for
 you to edit the patch file "patch-makefile-qmake-workaround.diff" as
 follows: Change the lines that read:
 {{{
 +         $(SED) 's/-arch *-/-/g' > $@
 }}}
 to
 {{{
 +         $(SED) -e 's/-arch *-/-/g' -e 's/-arch *$//g' > $@
 }}}
 Now, do:
 {{{
 sudo port clean djview
 sudo port install djview
 }}}
 and see if that works. The added SED script will remove the stray -arch
 from LFLAGS, which will hopefully allow the port to build. It won't hurt
 if the stray -arch is not there.

-- 
Ticket URL: <https://trac.macports.org/ticket/47987#comment:21>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list