From owner-freebsd-emulation@FreeBSD.ORG Wed May 23 17:41:34 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA60116A475; Wed, 23 May 2007 17:41:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 7564C13C4EE; Wed, 23 May 2007 17:41:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Hquq5-000HBV-2W; Wed, 23 May 2007 21:41:33 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HqurA-00013n-HJ; Wed, 23 May 2007 21:42:40 +0400 To: Doug Barton 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> From: Boris Samorodov Date: Wed, 23 May 2007 21:42:40 +0400 In-Reply-To: <20070523100419.T46653@ync.qbhto.arg> (Doug Barton's message of "Wed\, 23 May 2007 10\:05\:33 -0700 \(PDT\)") Message-ID: <44914767@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dmitry@karasik.eu.org, Alexander Leidinger , 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 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 17:41:34 -0000 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