From owner-freebsd-questions@FreeBSD.ORG Tue Aug 27 12:05:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B1B86735 for ; Tue, 27 Aug 2013 12:05:02 +0000 (UTC) (envelope-from kozlov.sergey.404@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 387C92275 for ; Tue, 27 Aug 2013 12:05:02 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id w6so2482004lbh.33 for ; Tue, 27 Aug 2013 05:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Lz3ScO5kiudLcGuxAB93ZA/QtbwM8/PKzz6lXc0XuX0=; b=ABMK3zth7OS6VaX9CRH4djN09/oiueDdVy7TzmZ30MAeXuJCzyvy98aBm0S0rtaTwZ 2ByGq9eBR4qZ/itn9guWy2svxGdq9kS6Dm0AK981RdUguRAqy/7tlV9IwoeE3bvE4VNw Vs0Hg1r+w2j4fcXOcp7Wr5ORJGmuURXalsia7MMCIXCex3Y0aI3tN7xkL9mbZITAn6Dd ZfEW4ml3L6J4J1oOpYsv+2nC9Ik8kBd6SFpCHlEJ3CREDBnPM1067zNorxDdCQvt3vsJ l4QDtZ784ouA73kvPEqqlJ8v7ik2scAQnB4Suc5bLIRe/xXMxh9oSYwVW+XAX0VBN0XD XoDw== X-Received: by 10.112.28.109 with SMTP id a13mr17314609lbh.3.1377605099452; Tue, 27 Aug 2013 05:04:59 -0700 (PDT) Received: from [192.168.77.101] (mail1.amcu.gov.ua. [213.160.139.2]) by mx.google.com with ESMTPSA id n15sm7940054laa.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 05:04:58 -0700 (PDT) Message-ID: <521C95E7.8000104@gmail.com> Date: Tue, 27 Aug 2013 15:04:55 +0300 From: Koslov Sergey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: CURDIR-relative paths in ports' Makefiles Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 12:05:02 -0000 Hello I've noticed that many ports are using ${.CURDIR}/../../some/port construction in their Makefiles. But if you copy on of these ports elsewhere it won't work as expected because of the relative path. Shouldn't they use ${PORTSDIR}/some/port instead? Thanks for the replies. Kozlov Sergey