[101134] trunk/dports/science/magicspp/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Jan 5 18:47:54 PST 2013


On Jan 4, 2013, at 18:08, takeshi at macports.org wrote:

> Revision: 101134
>          https://trac.macports.org/changeset/101134
> Author:   takeshi at macports.org
> Date:     2013-01-04 16:08:44 -0800 (Fri, 04 Jan 2013)
> Log Message:
> -----------
> magicspp: added missing dependencies for netcdf-cxx, swig and gcc4x, closing #37485
> 
> Modified Paths:
> --------------
>    trunk/dports/science/magicspp/Portfile
> 
> Modified: trunk/dports/science/magicspp/Portfile
> ===================================================================
> --- trunk/dports/science/magicspp/Portfile	2013-01-05 00:05:12 UTC (rev 101133)
> +++ trunk/dports/science/magicspp/Portfile	2013-01-05 00:08:44 UTC (rev 101134)
> @@ -5,6 +5,7 @@
> 
> name                magicspp
> version             2.16.1
> +revision            1
> platforms           darwin
> maintainers         takeshi
> license             Apache-2
> @@ -29,7 +30,7 @@
> fetch.ignore_sslcert    yes
> 
> depends_lib         port:emos \
> -                    port:netcdf \
> +                    port:netcdf-cxx \
>                     port:mesa \
>                     port:xorg-libXau \
>                     port:xorg-libXdmcp \
> @@ -39,6 +40,7 @@
>                     port:ghostscript \
>                     port:boost \
>                     port:proj47 \
> +                    port:swig \
>                     port:py27-numpy

The buildbot failed with:

swig -python -c++ -module Magics -o Magics_wrap.cpp Magics.i
:3: Error: Unable to find 'python.swg'
error: command 'swig' failed with exit status 1

I think you need a dependency on swig-python, not swig. Swig is typically only used at build time, so it probably belongs in depends_build not depends_lib.




More information about the macports-dev mailing list