svn commit: r308260 - head/net-mgmt/p5-Net-IP
Chris Rees
utisoft at gmail.com
Tue Dec 4 18:54:21 UTC 2012
On 4 Dec 2012 18:15, "Eitan Adler" <eadler at freebsd.org> wrote:
>
> Author: eadler
> Date: Tue Dec 4 18:15:10 2012
> New Revision: 308260
> URL: http://svnweb.freebsd.org/changeset/ports/308260
>
> Log:
> Simplify post-patch target
>
> Submitted by: sunpoet
> Feature safe: yes
>
> Modified:
> head/net-mgmt/p5-Net-IP/Makefile
>
> Modified: head/net-mgmt/p5-Net-IP/Makefile
>
==============================================================================
> --- head/net-mgmt/p5-Net-IP/Makefile Tue Dec 4 18:09:53 2012
(r308259)
> +++ head/net-mgmt/p5-Net-IP/Makefile Tue Dec 4 18:15:10 2012
(r308260)
> @@ -18,11 +18,7 @@ post-configure:
> ${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}'
${WRKSRC}/Makefile
>
> post-patch:
> - @${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
> - @${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
> - ${WRKSRC}/IP.pm
> - @${CP} ${WRKSRC}/ipcount ${WRKSRC}/ipcount.presed
> - @${SED} -e "76s#count#count = 0#" ${WRKSRC}/ipcount.presed > \
> - ${WRKSRC}/ipcount
> + ${REINPLACE_CMD} "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm
> + ${REINPLACE_CMD} "76s#count#count = 0#" ${WRKSRC}/ipcount
These are horrible- why not patches?
Chris
More information about the svn-ports-head
mailing list