Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 15:25:02 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Pat Maddox <pat@patmaddox.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to override port Makefile to point to local directory?
Message-ID:  <PSAPR03MB56396FA71D924DC784671D2FFACF9@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <E0751B45-4432-4B0B-AF70-21CC65302E37@patmaddox.com>
References:  <C4E1018F-B37F-48E1-BDCB-FD9150DBDB6E@patmaddox.com> <24d0482cd89dd98aa75fc9c89aa00201@bsdforge.com> <CA48E37F-67F0-40AD-9AE1-C8908E69E309@patmaddox.com> <E0751B45-4432-4B0B-AF70-21CC65302E37@patmaddox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Pat Maddox wrote on 2022/05/16 15:08:
> I figure there’s gotta be some sort of `make SRCDIR=. install` to bypass fetch & extract, but this will do for now.
> 

Is it a variable DISTDIR or PACKAGES?

If you write the following in /etc/make.conf, you can use a different location only for certain port.

.if !empty(.CURDIR:tA:M/home/you/DEV/<category>/port-im-developing)
DISTDIR= /home/you/dir_for_src
PACKAGES= /home/you/dir_for_put_pkg
WRKDIRPREFIX= /tmp/wrkdir
.endif

Regards.




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