From owner-freebsd-ports@FreeBSD.ORG Wed May 25 09:50:09 2005 Return-Path: X-Original-To: freebsd-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 5E65316A41C; Wed, 25 May 2005 09:50:09 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from mail.3wgraphics.com (mail.3wgraphics.com [194.87.91.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA60643D1F; Wed, 25 May 2005 09:50:08 +0000 (GMT) (envelope-from skv@FreeBSD.org) Received: from [192.168.0.1] (helo=[192.168.0.1]) by mail.3wgraphics.com with esmtp id 1DaqXK-0000Eu-Ku; Wed, 25 May 2005 11:42:42 +0400 Message-ID: <42942C72.6030801@FreeBSD.org> Date: Wed, 25 May 2005 11:42:42 +0400 From: Sergey Skvortsov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Erwin Lansing References: <20050524203848.P23939@chariss.finch.st> <20050525063257.GQ39511@droso.net> In-Reply-To: <20050525063257.GQ39511@droso.net> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Patching a perl 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: Wed, 25 May 2005 09:50:09 -0000 Erwin Lansing wrote: > The easiest way, which is what I usually take, is to add a post-patch > target that removes the .orig file > > .post-patch > @${RM} ${WRKSRC}/somefile.pl.orig more common way if more than one file patched: post-patch: @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -- Sergey Skvortsov mailto: skv@FreeBSD.org