[87771] trunk/dports/lang/mosml

Ryan Schmidt ryandesign at macports.org
Mon Dec 5 13:39:21 PST 2011


On Dec 5, 2011, at 08:15, mww at macports.org wrote:

> Revision: 87771
>          http://trac.macports.org/changeset/87771
> Author:   mww at macports.org
> Date:     2011-12-05 06:15:09 -0800 (Mon, 05 Dec 2011)
> Log Message:
> -----------
> mosml: fix build on 10.7
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/mosml/Portfile
> 
> Added Paths:
> -----------
>    trunk/dports/lang/mosml/files/patch-src-runtime-mosml.c.diff
>    trunk/dports/lang/mosml/files/patch-src-runtime-sys.c.diff
> 
> Modified: trunk/dports/lang/mosml/Portfile
> ===================================================================
> --- trunk/dports/lang/mosml/Portfile	2011-12-05 12:57:41 UTC (rev 87770)
> +++ trunk/dports/lang/mosml/Portfile	2011-12-05 14:15:09 UTC (rev 87771)
> @@ -1,5 +1,7 @@
> # $Id$
> -PortSystem        1.0
> +
> +PortSystem 1.0
> +
> name              mosml
> version           2.01
> revision          2
> @@ -18,18 +20,25 @@
> patchfiles        patch-src-Makefile.diff\
>                   patch-src-Makefile-inc.diff\
>                   patch-src-launch-Makefile.diff\
> -                  patch-src-dynlibs.diff
> +                  patch-src-dynlibs.diff \
> +                  patch-src-runtime-mosml.c.diff \
> +                  patch-src-runtime-sys.c.diff
> +
> worksrcdir        mosml
> +
> post-patch {
> -   reinplace  "s|/usr/bin/cpp|${configure.cpp}|"  ${worksrcpath}/src/Makefile.inc
>    reinplace  "s|LD=gcc|LD=${configure.cc}|"      ${worksrcpath}/src/Makefile.inc
>    reinplace  "s|CC=gcc|CC=${configure.cc}|"      ${worksrcpath}/src/Makefile.inc
> +   reinplace  "s|CCP=|CPP=${configure.cpp}|"      ${worksrcpath}/src/Makefile.inc

You surely meant CPP (not CCP) here, right?





More information about the macports-dev mailing list