From owner-freebsd-ports@FreeBSD.ORG Wed Feb 7 20:50:52 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC57316A406 for ; Wed, 7 Feb 2007 20:50:52 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9683013C4B5 for ; Wed, 7 Feb 2007 20:50:50 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so275581uge for ; Wed, 07 Feb 2007 12:50:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Bi7mdzEXUOJYlgVgT9R8T3xmGuVI2o/bMnfRpTPR77UgAHaGNmmjaqUVihYjJlCK4yG6WVZymmEP2p7lShhIMTF7GqWCKOS0ER6JDVbZio5+i5sL30oTHBz4tFvODQ2wcKst8yUy2NFEJvGxUmuGssvX6iHJdle43sq9bTdGSAg= Received: by 10.82.148.7 with SMTP id v7mr2619395bud.1170881441096; Wed, 07 Feb 2007 12:50:41 -0800 (PST) Received: by 10.82.112.15 with HTTP; Wed, 7 Feb 2007 12:50:41 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2007 15:50:41 -0500 From: "Michael Johnson" Sender: buhnux@gmail.com To: "FreeBSD Ports" , ade@freebsd.org In-Reply-To: <20070207175419.GA59592@iib.unsam.edu.ar> MIME-Version: 1.0 References: <20070207175419.GA59592@iib.unsam.edu.ar> X-Google-Sender-Auth: b4c6cabc3ee27539 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: configure breaks if PATCH_WRKSRC != WRKSRC (culprit: AUTOTOOLS) 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, 07 Feb 2007 20:50:52 -0000 On 2/7/07, Fernan Aguero wrote: > > Hi, > > I'm working on an update to the biology/emboss port that I > maintain, and I need to include an external patch. > > So I modified the port to fetch the patchfile and apply it. > For this I had to set PATCH_WRKSRC. This works fine, but now > the configure target breaks. > > I isolated the problem to a single line: the one that > defines PATCH_WRKSRC. You could take a different approach and use PATCH_STRIP=-p1 (see patch(1) about -p) Michael