[MacPorts] #42459: zeroc-ice34-java, installation fails

MacPorts noreply at macports.org
Wed May 21 07:22:35 PDT 2014


#42459: zeroc-ice34-java, installation fails
-------------------------------+---------------------
  Reporter:  firetiti@…        |      Owner:  blair@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  zeroc-ice34-java  |
-------------------------------+---------------------

Comment (by g.korovkin@…):

 Replying to [ticket:42459 firetiti@…]:
 > Hi,
 > I wanted to install ice34 and it seems that I have to install "zeroc-
 ice34-java" (the classical version is deprecated).
 > But the installation fails.
 > The log file is attached.
 > regards,

 In order to build zeroc-ice34 on new MacOS X 10.9 with (great new) clang
 you should do the following:
 1. copy .patch files into port/files directory and apply Portfile.patch (
 or manually add new patches ) for attached file tgz
 2. Add APPLE define to FreeBSD flags
 {{{#!sh
 port_dir=`port dir zeroc-ice34`


 #find and replace all "ifdef __FreeBSD__" to "if defined(__FreeBSD__) ||
 defined(__APPLE__)"
 for file in $(find $port_dir/files/ -type f -name *.cpp.diff -o -name
 *.h.diff ); do
     sed 's/ifdef __FreeBSD__/if defined(__FreeBSD__) \|\|
 defined(__APPLE__)/g' $file > $file.patched
     mv $file.patched $file
 done
 }}}

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


More information about the macports-tickets mailing list