[85928] trunk/dports/net/nmap/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Oct 17 12:21:41 PDT 2011


On Oct 17, 2011, at 12:53, dluke at macports.org wrote:

> Revision: 85928
>          http://trac.macports.org/changeset/85928
> Author:   dluke at macports.org
> 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nbase-configure.diff
Type: application/octet-stream
Size: 421 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20111017/dbf0b175/attachment.obj>
-------------- next part --------------



More information about the macports-dev mailing list