ports/112851: x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2

Doug Barton dougb at FreeBSD.org
Wed May 23 17:32:17 UTC 2007


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



More information about the freebsd-emulation mailing list