MacPorts: Add an option to configure script

Posted by Jeffrey Aylesworth on Stack Overflow See other posts from Stack Overflow or by Jeffrey Aylesworth
Published on 2010-03-19T22:25:09Z Indexed on 2010/03/19 22:31 UTC
Read the original article Hit count: 221

Filed under:

I am trying to install libguichan without allegro support, because allegro will not build on Snow Leopard.

It should be left out, the portfile has:

27  if {${os.platform} == "darwin" && (([variant_isset universal] && [string match *64* $universal_archs]) || (![variant_isset universal] && [string match *64 $build_arch]))} {
28      # allegro is not yet 64-bit compatible
29      depends_lib-delete port:allegro
30      configure.args-append --disable-allegro
31  }

But when I install it, it tries to build allegro. Is there any way I can get this functionality from the command line to install it?

The port: http://trac.macports.org/browser/trunk/dports/graphics/libguichan/Portfile

© Stack Overflow or respective owner

Related posts about macports