[MacPorts] #42673: kde4-baseapps build failure on OS X 10.6.8

MacPorts noreply at macports.org
Mon Mar 10 10:09:59 PDT 2014


#42673: kde4-baseapps build failure on OS X 10.6.8
----------------------------+---------------------
  Reporter:  rjvbertin@…    |      Owner:  nicos@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:  kde4-baseapps  |
----------------------------+---------------------

Comment (by rjvbertin@…):

 I had to modify the Portfile a bit:
 {{{
 pre-build {
     # Add missing object files manually. Issue similar to ticket #37574.
     #(Should be in libkdeinit4_konqueror, but do not link)
     reinplace "s|konqmain.o
 -o|CMakeFiles/kdeinit_konqueror.dir/konqmisc.o -o|g" \
         ${workpath}/build/konqueror/src/CMakeFiles/konqueror.dir/link.txt
 }
 }}}

 because otherwise konqmisc.o was added TWICE to the link command. Took me
 a while to figure out how to do this, because contrary to dolphin, linking
 konqueror by hand was useless as port install would try again with the
 wrong parameters. And NOT adding konqmisc.o isn't an option either because
 then the class isn't found, even with gcc-4.2 .

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


More information about the macports-tickets mailing list