From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 12:29:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F4EE16A4DA for ; Wed, 6 Sep 2006 12:29:42 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E7B843D45 for ; Wed, 6 Sep 2006 12:29:42 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 857291BB26E9; Wed, 6 Sep 2006 14:27:44 +0200 (CEST) Received: from [83.99.26.81] (helo=[10.0.0.11]) by smtp05.web.de with esmtp (WEB.DE 4.107 #114) id 1GKwVL-0008Pt-00; Wed, 06 Sep 2006 14:27:43 +0200 Message-ID: <44FEBEBF.8050703@web.de> Date: Wed, 06 Sep 2006 14:27:43 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: vittorio References: <200609061225.09727.vdemart1@tin.it> In-Reply-To: <200609061225.09727.vdemart1@tin.it> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de Cc: freebsd-questions@freebsd.org Subject: Re: Creating pkg-plist - problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 12:29:42 -0000 vittorio wrote: > Under 6.1 I'm trying to build a port (R-2.3.1) following the instructions in > the porters-handbook and particularly I'm having a go at creating the > pkg-plist file as suggested in the point 7.5 of > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-autoplist.html > > now,there is said: > > "Next, create a temporary directory tree into which your port can be > installed, and install any dependencies. > # mkdir /var/tmp/$(make -V PORTNAME) > # mtree -U -f $(make -V MTREE_FILE) -d -e -p /var/tmp/$(make -V PORTNAME) > # make depends PREFIX=/var/tmp/$(make -V PORTNAME)" > > but, when I try: > > % make -V PORTNAME > R > > BUT > % mkdir /var/tmp/$(make -V PORTNAME) > the answer is > "Nome di variabile non lecito" that is "variable name not allowed" > > What's wrong with it? This is Bourne shell syntax and you are using tcsh. Either type "sh" and follow the instructions or replace $(make -V PORTNAME) by `make -V PORTNAME` --jona