Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jan 2006 12:02:49 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd ports <freebsd-ports@freebsd.org>, KOMATSU Shinichiro <koma2@lovepeers.org>
Subject:   Re: New /bin/sh based script to manage ports
Message-ID:  <43C01E69.1090907@FreeBSD.org>
In-Reply-To: <op.s20rwwrk9aq2h7@mezz.mezzweb.com>
References:  <43BCF31F.8050900@FreeBSD.org> <op.s2w24xlg9aq2h7@mezz.mezzweb.com> <43BF7F8D.6080809@FreeBSD.org> <20060107092614.GH79296@pcwin002.win.tue.nl> <43BF8EF1.3000005@lovepeers.org> <op.s20rwwrk9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote:

> # make -V PORTSDIR
> [...empty...]
> # pwd
> /root
> 
> It doesn't work here. I am not sure why I would get empty unless I have 
> Makefile or go in one of port directory.

If you set this variable in /etc/make.conf, you will get a value with this 
method (I tested it last night). What I did in my script was to do the make 
-V, and if it was empty to set the variable to the default.

hth,

Doug

-- 

     This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C01E69.1090907>