Subject: Re: [BUG] security/openssl post-patch: is WRONG.
To: None <cube@cubidou.net>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 09/11/2003 18:03:11
On Thu, 11 Sep 2003 17:46:14 +0200
cube@cubidou.net wrote:

> On Thu, Sep 11, 2003 at 05:37:34PM +0200, Michal Pasternak wrote:
> >                 ${SED} -e "s/@MAKE@/${MAKE}/" ${WRKSRC}/$$i >           \
> > 
> > if ${MAKE} contains slashes - just like here (RedHat 8.0 and pkgsrc) - the
> > sed will return errors. I don't know how this should be handled (I mean -
> > yes, backslash it, but how to do that from pkgsrc?) - but correcting this
> > issue is important. Ah, could anyone check for this bug in other packages? 
> 
> s,@MAKE@,${MAKE:S/,/\,/},

Or ${MAKE:Q}, or changing the sed delimiter to | instead of /, for example ;)

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/