On Oct 17, 2011, at 12:53, [email protected] wrote:

> Revision: 85928
>          http://trac.macports.org/changeset/85928
> Author:   [email protected]
> Date:     2011-10-17 10:53:36 -0700 (Mon, 17 Oct 2011)
> Log Message:
> -----------
> nmap: fix for building with xcode 4.2
> 
> Modified Paths:
> --------------
>    trunk/dports/net/nmap/Portfile
> 
> Modified: trunk/dports/net/nmap/Portfile
> ===================================================================
> --- trunk/dports/net/nmap/Portfile    2011-10-17 17:50:56 UTC (rev 85927)
> +++ trunk/dports/net/nmap/Portfile    2011-10-17 17:53:36 UTC (rev 85928)
> @@ -53,6 +53,10 @@
> use_parallel_build    no
> configure.ccache      no
> 
> +pre-configure {
> +             reinplace "s|^void main(void)|int main(void)|g" 
> ${worksrcpath}/nbase/configure
> +     }

It would be better to use a patchfile for this instead of a reinplace.


Attachment: patch-nbase-configure.diff
Description: Binary data

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to