category for local ports

Shaun Amott shaun at inerd.com
Mon Apr 24 22:35:28 UTC 2006


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.


More information about the freebsd-ports mailing list