[MacPorts] #24508: swarm - Portfile submission

MacPorts noreply at macports.org
Wed May 19 22:24:57 PDT 2010


#24508: swarm - Portfile submission
------------------------------------------+---------------------------------
 Reporter:  cristiano.fontana@…           |       Owner:  ryandesign@…           
     Type:  submission                    |      Status:  assigned               
 Priority:  Normal                        |   Milestone:                         
Component:  ports                         |     Version:                         
 Keywords:                                |        Port:  swarm                  
------------------------------------------+---------------------------------

Comment(by ryandesign@…):

 Thanks for the port.

 The post-patch phase was a little overcomplicated; I simplified it to just
 reinplace the two configure scripts. No need to reinplace the configure.in
 files since their only purpose is to regenerate the configure scripts.

 The --with-ffidir configure arg was a little peculiar too, and wouldn't
 work if libffi hadn't already been installed. (The glob would have been
 evaluated when the swarm portfile was parsed, which would have been before
 the libffi dependency was installed, so the glob would evaluate to the
 empty string.) I fixed this by using a pre-configure block, and felt it
 cleaner to use pkg-config.

 Finally, I can't build this at all on my Mac, which has Snow Leopard,
 using either build_arch x86_64 or i386. I get this kind of error:
 {{{
 libtool: compile:  /usr/bin/gcc-4.2 -x none -c avcall-i386.s -o
 avcall-i386.o
 avcall-i386.s:7:suffix or operands invalid for `push'
 avcall-i386.s:9:suffix or operands invalid for `push'
 avcall-i386.s:10:suffix or operands invalid for `push'
 avcall-i386.s:39:suffix or operands invalid for `call'
 avcall-i386.s:47:suffix or operands invalid for `call'
 avcall-i386.s:53:suffix or operands invalid for `call'
 avcall-i386.s:168:suffix or operands invalid for `pop'
 avcall-i386.s:169:suffix or operands invalid for `pop'
 avcall-i386.s:171:suffix or operands invalid for `pop'
 }}}
 On what Mac with what OS version are you able to build this port?

 Attached is my revised portfile.

-- 
Ticket URL: <http://trac.macports.org/ticket/24508#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list