From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 20:07:44 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22F2E16A41F for ; Tue, 19 Jul 2005 20:07:44 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF45043D55 for ; Tue, 19 Jul 2005 20:07:43 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 411BC388D3C for ; Tue, 19 Jul 2005 15:07:43 -0500 (CDT) Date: Tue, 19 Jul 2005 15:07:43 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: <8CB1616EDEFAAE0DF5F38B4A@utd59514.utdallas.edu> In-Reply-To: <790a9fff05071911356839b928@mail.gmail.com> References: <7EA964ADB15B6C3F4E521554@utd59514.utdallas.edu> <790a9fff05071911356839b928@mail.gmail.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: patch problem with new port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 20:07:44 -0000 --On Tuesday, July 19, 2005 13:35:07 -0500 Scot Hetzel wrote: > > If you are repeatedly changing only one line in several files, you > could use the ${REPLACE_CMD} variable to replace the line. > > USE_REINPLACE= yes > WISH_CMD?= wish8.3 > > post-patch: > .for file in file1 file2 > @${REINPLACE_CMD} -e 's:exec wish:exec ${WISH_CMD}:g' ${WRKDIR}/$file > .endfor > > You can use this trick even if you are patching one of the files, as > the post-patch occurs after your patch is applied. > Grrrr...The problem was the whitespace. I *thought* I had used a tab, but I deleted it and then reentered a tab, and now it's working. Just call me Mr. Syntax. That's my single biggest problem with this stuff.... Thanks for everyone's help. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/