From owner-freebsd-ports@FreeBSD.ORG Tue Sep 13 16:49:53 2011 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 A57501065677; Tue, 13 Sep 2011 16:49:53 +0000 (UTC) (envelope-from aakuusta@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 142A68FC16; Tue, 13 Sep 2011 16:49:52 +0000 (UTC) Received: by wwe3 with SMTP id 3so984290wwe.31 for ; Tue, 13 Sep 2011 09:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=rlNjGIYQTWRYed+I8QSl5ih7z7iw2CPwj2Cu0dbC3yE=; b=BPflZQSw36zIl8e1ISSwOnmwRLGCL+lhxpOJEaVlXH0IQUGDdPmnraEX7Y2qrCfJ5Q nqPoqNVBQH4OhW0cmNdjTFfhVO3TGZW4jpcMEq5J6P0xD+uu+6qZcGRUKrQ9cUtOsBsd lPC1km35JAkJRG+N55a8gYwfHPeC8TV49Jl7E= Received: by 10.227.154.19 with SMTP id m19mr2941921wbw.2.1315931208080; Tue, 13 Sep 2011 09:26:48 -0700 (PDT) Received: from nil (spftor3.privacyfoundation.ch. [62.220.135.129]) by mx.google.com with ESMTPS id ex16sm962857wbb.4.2011.09.13.09.26.39 (version=SSLv3 cipher=OTHER); Tue, 13 Sep 2011 09:26:46 -0700 (PDT) From: h h To: Erwin Lansing In-Reply-To: <20110913113322.GX79144@droso.net> (Erwin Lansing's message of "Tue, 13 Sep 2011 13:33:22 +0200") Date: Tue, 13 Sep 2011 20:25:38 +0400 Message-ID: <86vcswjtod.fsf_-_@gmail.com> References: <20110913094514.071C8106573A@hub.freebsd.org> <20110913113322.GX79144@droso.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-ports@freebsd.org Subject: Is WRKDIR a user- or a port-defined variable? (Re: Screwy behavior in ports framework) 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: Tue, 13 Sep 2011 16:49:53 -0000 (redirect from -current@ to -ports@) Erwin Lansing writes: > On Tue, Sep 13, 2011 at 09:45:05AM +0000, Thomas Mueller wrote: >> >> >> PORTSDIR=/BETA1/usr/ports >> PACKAGES=/usr/packages >> WRKDIR=workb2 >> # added by use.perl 2011-09-13 02:49:43 >> PERL_VERSION=5.14.1 >> >> Maybe WRKDIR should have been ${MASTERDIR}/workb2 , or should it be ${.CURDIR}/workb2 ? > > The latter. Default for WRKDIR is ${WRKDIRPREFIX}${.CURDIR}/work, so > you'll need to include ${.CURDIR} as well. If it's supported why WRKDIR assignments are not cleaned up? databases/jasperserver/Makefile:WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work misc/py-xdelta3/Makefile:WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work net/py-miniupnpc/Makefile:WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work In fact, Porter's Handbook encourages its redefining unlike WRKDIRPREFIX http://www.freebsd.org/doc/en/books/porters-handbook/porting-wrkdir.html http://www.freebsd.org/doc/en/books/porters-handbook/porting-wrkdirprefix.html Are you talking about new policy?