Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2007 10:05:33 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        Boris Samorodov <bsam@ipt.ru>
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:  <20070523100419.T46653@ync.qbhto.arg>
In-Reply-To: <53875373@srv.sem.ipt.ru>
References:  <200705231116.l4NBGKJI082138@freefall.freebsd.org> <20070523133902.47ewer69wkckcgs0@webmail.leidinger.net> <1179921135.34567.7.camel@pav.hide.vol.cz> <53875373@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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

hth,

Doug

-- 

     This .signature sanitized for your protection




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