From owner-freebsd-ports@FreeBSD.ORG Wed May 25 06:33:00 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 A0F5A16A41C for ; Wed, 25 May 2005 06:33:00 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4706343D1F for ; Wed, 25 May 2005 06:33:00 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id C60BE2288E; Wed, 25 May 2005 08:32:58 +0200 (CEST) Received: by mail.droso.net (Postfix, from userid 1001) id 02C582288B; Wed, 25 May 2005 08:32:58 +0200 (CEST) Date: Wed, 25 May 2005 08:32:57 +0200 From: Erwin Lansing To: freebsd-ports@freebsd.org Message-ID: <20050525063257.GQ39511@droso.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <20050524203848.P23939@chariss.finch.st> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6b3yLyRKT1M6kiA0" Content-Disposition: inline In-Reply-To: <20050524203848.P23939@chariss.finch.st> X-Operating-System: FreeBSD/i386 5.4-RELEASE User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd 0.1 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 06:33:00 -0000 --6b3yLyRKT1M6kiA0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 24, 2005 at 08:42:51PM -0600, Aaron Dalton wrote: Hi Aaron, > I am trying to package a Perl module. One of the files in the=20 > distribution needs patching. I followed the exact same procedure as I di= d=20 > in security/p5-Email-Obfuscate but MAKE keeps generating the file=20 > Comments.pm.orig. No matter what I do to the patch-file, this .orig file= =20 > keeps showing up! What am I doing wrong? I have attached the shar file. >=20 The easiest way, which is what I usually take, is to add a post-patch target that removes the .orig file =2Epost-patch @${RM} ${WRKSRC}/somefile.pl.orig Cheers, -erwin --=20 Erwin Lansing DISCLAIMER: No electrons were harmed while sending this message. --6b3yLyRKT1M6kiA0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFClBwZqy9aWxUlaZARAmDgAKD4sL8/Li7vHz0XZBbkwQeiIOzR5gCff2UP yhmCK0Bzg4biuLCtORfT6o4= =7+dg -----END PGP SIGNATURE----- --6b3yLyRKT1M6kiA0--