ACTION REQUIRED - Unstaged Ports being DEPRECATED on June 31st.

Tijl Coosemans tijl at FreeBSD.org
Sun May 11 10:02:05 UTC 2014


On Sun, 11 May 2014 10:22:58 +0200 John Marino wrote:
> On 5/11/2014 04:02, Montgomery-Smith, Stephen wrote:
>> I have noticed that "make all" now includes the staging as well as
>> building.  That is to say, it looks like there is a rather wholesale
>> reordering of how ports build and install.  From this I conclude it is
>> becoming harder to include the legacy NO_STAGE code, which presumably
>> must stick to the old way of doing things.
> 
> I don't understand this paragraph.  I never use "make all" at the ports
> level.  "make install" will do 2 steps: install into the staging area
> and then install onto the system.  If you just want to install in the
> staging area, you use "make stage" target.  By definition "all" is do
> everything, so that's not a surprise that's not a surprise.  Maybe stop
> using "all"?  A lone "make" is equivalent to "make build", so just use
> that perhaps?

He was referring to this in bsd.port.mk:

.if !target(all)
.  if defined(NO_STAGE)
all: build
.  else
all: stage
.  endif
.endif


More information about the freebsd-ports mailing list