From owner-freebsd-ports@FreeBSD.ORG Mon Dec 18 20:41:00 2006 Return-Path: X-Original-To: freebsd-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 0013716A407 for ; Mon, 18 Dec 2006 20:40:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E46843CB1 for ; Mon, 18 Dec 2006 20:40:53 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so874877pyh for ; Mon, 18 Dec 2006 12:40:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dl3VVHrFCulvsyFAfg4ABKNQ8laOF0IkHgSBga7LrnflM+vTwi69JW/GW/G70ukVn0OHYMZkugJ64mLA0DUbcDt583YKErfO0J9ywLo91Fj6NLuHtNJR0aKwpNGIICTL+jCE9NB+8ad45MCJ4VUYmetVEznK4HidhLT+zVcjU4k= Received: by 10.65.200.14 with SMTP id c14mr5680747qbq.1166472735249; Mon, 18 Dec 2006 12:12:15 -0800 (PST) Received: by 10.65.61.1 with HTTP; Mon, 18 Dec 2006 12:12:15 -0800 (PST) Message-ID: <790a9fff0612181212u6a038dc3oe766a6e59ee5acda@mail.gmail.com> Date: Mon, 18 Dec 2006 14:12:15 -0600 From: "Scot Hetzel" To: "Beech Rintoul" In-Reply-To: <200612181029.15021.freebsd@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200612181029.15021.freebsd@alaskaparadise.com> Cc: freebsd-ports@freebsd.org Subject: Re: Sourcefile named differently than portname. 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: Mon, 18 Dec 2006 20:41:00 -0000 On 12/18/06, Beech Rintoul wrote: > I'm working on a port upgrade where the sourcefile has a different name from > the port. For example the port is called myport-6.2 but the distfile is > called myportsrc. I used DISTNAME= myportsrc. in the makefile and the same in > distinfo. It fetches correctly but when it tries to cd to the workfile it > uses the port name instead of the DISTNAME and fails. How do I override this? > Set WRKSRC to the location of the extracted files: WRKSRC=${WRKDIR}/myportsrc Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.