Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2007 21:42:40 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        dmitry@karasik.eu.org, Alexander Leidinger <Alexander@leidinger.net>, freebsd-emulation@FreeBSD.org, pav@FreeBSD.org
Subject:   Re: ports/112851: x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
Message-ID:  <44914767@srv.sem.ipt.ru>
In-Reply-To: <20070523100419.T46653@ync.qbhto.arg> (Doug Barton's message of "Wed\, 23 May 2007 10\:05\:33 -0700 \(PDT\)")
References:  <200705231116.l4NBGKJI082138@freefall.freebsd.org> <20070523133902.47ewer69wkckcgs0@webmail.leidinger.net> <1179921135.34567.7.camel@pav.hide.vol.cz> <53875373@srv.sem.ipt.ru> <20070523100419.T46653@ync.qbhto.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Doug,

On Wed, 23 May 2007 10:05:33 -0700 (PDT) Doug Barton wrote:
> On Wed, 23 May 2007, Boris Samorodov wrote:

> > +# Here is our configuration file
> > +post-patch:
> > +	@${CAT} ${FILESDIR}/fonts.conf | ${SED} 's:/usr/X11R6:${LOCALBASE}:g' > ${WRKSRC}/etc/fonts/fonts.conf

> That is the prototypical "useless use of cat." You want:

> sed 'pattern' file > output

You are right. Thanks for the tip!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44914767>