From owner-freebsd-ports@FreeBSD.ORG Thu Sep 30 03:42:09 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CA06106566C for ; Thu, 30 Sep 2010 03:42:09 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D234E8FC17 for ; Thu, 30 Sep 2010 03:42:08 +0000 (UTC) Received: by fxm9 with SMTP id 9so1307690fxm.13 for ; Wed, 29 Sep 2010 20:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=srOsRWhCm7OpnrZARC2M7n/DNplcddpBMlBvTEtXgUg=; b=ahcnpA9SM73gI+RPYAZ6rgdtOdf949cMyWDChXVMTSYr0maptvHpdnXIdOw2kPGDDu 1un5CaIncgivKL2QxhSpQzEc2F/8Z7bvzzZvZgdVKo85dHchamI6LNWSU7uDP4YVJz3s ARz9yJj73R0Szfu3R12itFl7i7x4TdWhYKR6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=E5AhoAhVC6Ysh848bIbZ3Gq8bX+OPwn9/gB6t8nDam5m5m2XSlYFtUriCltL8hTaCM gSgd7paHvc1hXwhVYvrsCQ3xtsrHqMFFXDXRrlyxBfbKvLX42oWoGAOi/lOsPP+ddCNC de4USZD7jGDHkp8xQcZJmGB/8Zgg3vsBQamME= MIME-Version: 1.0 Received: by 10.239.158.194 with SMTP id v2mr236036hbc.109.1285818127836; Wed, 29 Sep 2010 20:42:07 -0700 (PDT) Received: by 10.239.145.194 with HTTP; Wed, 29 Sep 2010 20:42:07 -0700 (PDT) In-Reply-To: References: <20100929072844.GG10381@curry.linta.de> <20100929075359.GH10381@curry.linta.de> Date: Wed, 29 Sep 2010 22:42:07 -0500 Message-ID: From: Scot Hetzel To: "Klaus T. Aehlig" Content-Type: text/plain; charset=ISO-8859-1 Cc: Dmitry Pryanishnikov , freebsd-ports@freebsd.org Subject: Re: Using portmaster with different PYTHON_VERSION 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: Thu, 30 Sep 2010 03:42:09 -0000 On Wed, Sep 29, 2010 at 10:40 PM, Scot Hetzel wrote: > On Wed, Sep 29, 2010 at 2:53 AM, Klaus T. Aehlig wrote: >> >> Hi everybody, >> >> sorry for the noise. >> >>> > MASTERDIR= ${.CURDIR}/../py-httplib2 >>> >>> shouldn't that be >>> >>> MASTERDIR=${PORTSDIR}/www/py-httplib2 >>> >>> Or have I misunderstood something here? >> >> I obviously did. At least the example in porters' handbook and >> all slave ports use ${.CURDIR}/../ Could some help me improve >> my understanding and explain why it is preferable to refer to the >> location of the current port in the file system rathen than to a >> particular port in the ports tree? >> > Using this Makefile: > > # > > .include "${PORTSDIR}/www/py-httplib2 > > will cause make to try to access the www/py-httplib2 directory in the > current directory. > small correction, it will try to access /www/py-httplib2 directory Scot