From owner-freebsd-ports Sat Mar 22 3:42:37 2003 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 D5FC337B401 for ; Sat, 22 Mar 2003 03:42:36 -0800 (PST) Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8297743F75 for ; Sat, 22 Mar 2003 03:42:33 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.3/8.12.3) with ESMTP id h2MBgQgO021399 for ; Sat, 22 Mar 2003 14:42:27 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.3/8.12.3/Submit) id h2MBgPGQ021390 for ports@freebsd.org; Sat, 22 Mar 2003 14:42:25 +0300 (MSK) (envelope-from yar) Date: Sat, 22 Mar 2003 14:42:24 +0300 From: Yar Tikhiy To: ports@freebsd.org Subject: WRKSRC Message-ID: <20030322114224.GA19927@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, The FreeBSD Porter's Handbook, subsection 4.8.1, reads: The variable lists the name of the directory that is created when the application's distfiles are extracted. If our previous example extracted into a directory called foo (and not foo-1.0) you would write: WRKSRC= foo That is while in reality one has to write: WRKSRC= ${WRKDIR}/foo since WRKSRC is treated by bsd.port.mk as a full pathname. So which one, the handbook or bsd.port.mk, is to be changed? Is there any reason to have this "${WRKDIR}/" stuff in each Makefile utilizing WRKSRC? -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message