[Surfraw-devel] tool versions and surfraw

Moritz Muehlenhoff jmm at inutil.org
Sat Mar 4 13:30:36 UTC 2006


James Rowe wrote:
> * Moritz Muehlenhoff (jmm at inutil.org) wrote:
> > James Rowe wrote:
> > >   Whilst attempting to update the Gentoo package of surfraw I suffered
> > > a build failure resulting from the quoting in the multi-line sed calls in
> > > Makefile.include(log attached).  To be quite honest I can't understand why
> > > multiple expression options weren't used instead, but I'm guessing there
> > > must be a reason.
> > > 
> > >   So my question is what version of make are you using that accepts the
> > > quoting and indentation used in the Makefile?  And is there a reason a more
> > > normal construction, such as in the patch attached, isn't used?
> > 
> > Surfraw has already been adapted to the new make behaviour a few days
> > ago, you can grab the copy of 2.1.3 at
> > http://ftp.debian.org/debian/pool/main/s/surfraw/surfraw_2.1.3.tar.gz
> 
>   Neither the 2.1.3 release or CVS contain such a fix, and so fail in
> exactly the same way.

>From a freshly downloaded 2.1.3: (Makefile.in)

%: %.IN
        -rm -f $@ $@.tmp
        sed 's, at bindir\@,${bindir},g; '\
	'            s, at mandir\@,${mandir},g; '\
	'            s, at VERSION\@,${VERSION},g; '\
	'            s, at prefix\@,${prefix},g; '\
	'            s, at ELVIDIR\@,${ELVIDIR},g; '\
	'            s, at sysconfdir\@,${sysconfdir},g' $< >$@.tmp
		
Cheers,
        Moritz



More information about the Surfraw-devel mailing list