From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 21 14:46:56 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 7477A16A400 for ; Wed, 21 Mar 2007 14:46:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 2D5DC13C4AE for ; Wed, 21 Mar 2007 14:46:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5DEC2.dip.t-dialin.net [84.165.222.194]) by redbull.bpaserver.net (Postfix) with ESMTP id 35EE52E203; Wed, 21 Mar 2007 15:46:50 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5D7FE5B4817; Wed, 21 Mar 2007 15:46:47 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l2LEklcj092997; Wed, 21 Mar 2007 15:46:47 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 21 Mar 2007 15:46:47 +0100 Message-ID: <20070321154647.iq4avx8mpcsw84co@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 21 Mar 2007 15:46:47 +0100 From: Alexander Leidinger To: karol.kwiat@gmail.com References: <4601219B.402@gmail.com> <20070321143737.hcrklzpsqooocksc@webmail.leidinger.net> <460141F0.6090000@gmail.com> In-Reply-To: <460141F0.6090000@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: [OT] Makefile magic [was: Re: linux-fonconfig-2.2.3_6 not X11BASE clean] 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, 21 Mar 2007 14:46:56 -0000 Quoting Karol Kwiatkowski (from Wed, 21 Mar =20 2007 15:32:16 +0100): > Alexander Leidinger wrote: >> You also added the backup file to the plist, just do an >> inplace replacement without the backup (-i option). > > I'm probably missing something but I can't see how to do that. sed(1) > mentions -i with zero-length extension. Then there are those lines in > /usr/ports/Mk/bsd.port.mk: > > # Macro for doing in-place file editing using regexps > REINPLACE_ARGS?=3D=09-i.bak > REINPLACE_CMD?=3D=09${SED} ${REINPLACE_ARGS} > > and whatever I put in ${REINPLACE_CMD} line after -i option I get errors > or different extensions. -i'' or something like this IIRC... > However, how about replacing ${INSTALL_DATA} with ${SED}? Patch attached. This doesn't take care of chown and chgrp. Bye, Alexander. --=20 A lack of planning on your part does not constitute an emergency on my part. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137