[81252] branches/gsoc11-rev-upgrade/base

Ryan Schmidt ryandesign at macports.org
Thu Jul 28 15:37:09 PDT 2011


On Jul 28, 2011, at 03:32, cal at macports.org wrote:

> Revision: 81252
>          http://trac.macports.org/changeset/81252
> Author:   cal at macports.org
> Date:     2011-07-28 01:32:37 -0700 (Thu, 28 Jul 2011)
> Log Message:
> -----------
> rev-upgrade: src/machista1.0 needs SWIG, these changes locate it
> However, Lion does no longer ship SWIG, so we have to expect users without it
> Also, Swig 2.x available from MacPorts generates code that doesn't compile warnings-free, which is why this Makefile suggests using Swig 1.x
> 
> Modified Paths:
> --------------
>    branches/gsoc11-rev-upgrade/base/configure.ac
>    branches/gsoc11-rev-upgrade/base/src/port1.0/port_autoconf.tcl.in

> +AC_PATH_PROG(SWIG, [swig], [$PATH:/usr/local/bin])

> +	@echo "Building ${SWIG_SRCS} requires swig, which you apparently did not have installed when configuring MacPorts." >&2
> +	@echo "Please install swig and re-run configure" >&2
> +	@echo "I recommend installing SWIG 1.x in /usr/local, because as of this writing SWIG 2.x-generated code does not compile warning-free" >&2
> +	@echo "If you checked out from svn you can also run svn revert in base/src/machista1.0 to get rid of this error" >&2

Please please please no. We extremely do not want MacPorts users installing anything in /usr/local. We constantly tell users not to do this because we constantly receive bug reports from users who have things installed there which are causing problems.




More information about the macports-dev mailing list