Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 11:42:42 +0400
From:      Sergey Skvortsov <skv@FreeBSD.org>
To:        Erwin Lansing <erwin@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Patching a perl port
Message-ID:  <42942C72.6030801@FreeBSD.org>
In-Reply-To: <20050525063257.GQ39511@droso.net>
References:  <20050524203848.P23939@chariss.finch.st> <20050525063257.GQ39511@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42942C72.6030801>