Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 23:35:23 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        Rong-En Fan <rafan@infor.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: category for local ports
Message-ID:  <20060424223523.GD749@picobyte.net>
In-Reply-To: <20060424042318.GA59923@svm.csie.ntu.edu.tw>
References:  <20060424042318.GA59923@svm.csie.ntu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 24, 2006 at 12:23:18PM +0800, Rong-En Fan wrote:
> 
> .if ${.CURDIR:M/usr/ports}
> SUBDIR += local
> .endif

I doubt this is possible - make.conf is just for variable assignments as
far as I know.

> 
> But it does not work. make index does not include my local ports
> in local/. Is it possible to do this in make.conf with some magic?
> If not, then I think I have to patch ports/Makefile after each update :(
> 

Put your SUBDIR variable in ports/Makefile.local

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.



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