From owner-freebsd-ports@FreeBSD.ORG Fri Apr 18 09:33:56 2003 Return-Path: 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 6ECCD37B40B for ; Fri, 18 Apr 2003 09:33:56 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 516BE43F85 for ; Fri, 18 Apr 2003 09:33:55 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from Admin02 (admin02.westbend.net [216.47.253.19]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h3IGXoJJ004528; Fri, 18 Apr 2003 11:33:51 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <00dd01c305c8$4bbf1d40$13fd2fd8@Admin02> From: "Scot W. Hetzel" To: "Andrew" , References: <20030418222726.X89228-100000@starbug.ugh.net.au> Date: Fri, 18 Apr 2003 11:33:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Re: Multiple distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 16:33:56 -0000 From: "Andrew" > I was wondering what the "proper" way was to deal with a port that has 2 > distfiles (that extract to different directories). I tried setting > NO_WRKSUBDIR and then pade sure the paths in the patches included the > directory name but when it comes to running make we are in the wrong > directory (need to descend one more level). > > Should i jsut split it into 2 ports and make one depend on the other? > It depends on the application your trying to port. Are the 2 distfiles separate applications with one depending on the other? If they are then 2 ports would be best, as some one may only want to install the non-dependent port. If they are not separate applications then you'll want to set PATCH_WRKSRC to WRKDIR. Scot