svn commit: r303047 - head/usr.bin/sed

Alexey Dokuchaev danfe at FreeBSD.org
Tue Aug 2 14:17:39 UTC 2016


On Tue, Jul 19, 2016 at 10:56:40PM +0000, Pedro F. Giffuni wrote:
> New Revision: 303047
> URL: https://svnweb.freebsd.org/changeset/base/303047
> 
> Log:
>   sed(1):	Assorted cleanups and simplifications.
>   
>   Const-ify several variables, make it build cleanly with WARNS level 5.
>   
>   Submitted by:	mi
>   PR:		195929
>   MFC after:	1 month

Hi Pedro,

This change causes `games/openttd' to fail now, because the generated
`$wrkdir/openttd-1.6.1/objs/release/Makefile' file is broken (SRCS var
is set to bogus value, search for ^SRCS).  Reverting usr.bin/sed back
to r303046 fixes it.

The latest revision (with ngie@'s fix) exhibits the same problem.

Now the port uses somewhat obscure build system, but the sed(1) magic
happens inside generate_foo() functions using SRC_REPLACE variable set
in make_sed() inside `config.lib' file; these functions are called by
the configure script.

Would you or Mikhail mind taking a look?  Thanks,

./danfe


More information about the svn-src-all mailing list