cvs commit: ports/graphics/sng Makefile pkg-descr

Andrew Pantyukhin sat at FreeBSD.org
Fri Jun 15 18:30:36 UTC 2007


On 6/15/07, Alexey Dokuchaev <danfe at freebsd.org> wrote:
> danfe       2007-06-15 18:00:11 UTC
>
>   FreeBSD ports repository
>
>   Modified files:
>     graphics/sng         Makefile pkg-descr
>   Log:
>   - Fix the build with recent GCC [1]
>   - Correctly assign RUN_DEPENDS
>   - Minor indentation nit in Makefile
>   - Kill EOL space in pkg-descr
>
>   Reported by:    pointyhat (logs) [1]
>
>   Revision  Changes    Path
>   1.13      +3 -2      ports/graphics/sng/Makefile
>   1.2       +1 -1      ports/graphics/sng/pkg-descr
> _______________________________________________
>  pre-patch:
>         @${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
> +       @${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c

I'd warn you against these numbered sed substitutions.
For one, they're hard to maintain. They also can cause
silent damage to sources which is very hard to track.

In this very case, it use this:
'/^static png_/s|^static ||'

Thanks!


More information about the cvs-all mailing list