Explain staging

Baptiste Daroussin bapt at FreeBSD.org
Fri Oct 4 05:56:25 UTC 2013


On Thu, Oct 03, 2013 at 08:21:19PM -0500, Stephen Montgomery-Smith wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 10/03/2013 07:22 AM, Stephen Montgomery-Smith wrote:
> > On 10/03/2013 04:54 AM, Baptiste Daroussin wrote:
> >> On Thu, Oct 03, 2013 at 10:58:56AM +0200, Alex Dupre wrote:
> >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> >>> 
> >>> Baptiste Daroussin ha scritto:
> >>>> Here you are: 
> >>>> http://lists.freebsd.org/pipermail/freebsd-ports/2013-October/086346.html
> >>>
> >>>
> >>>>
> >
> >>>> 
> I
> >>>> 
> >>> was referring the the previous one: "[HEADSUP] Stage support
> >>> for the ports tree". Dunno if it had additional info or this
> >>> second one is enough.
> >>> 
> >> I mixed both in one :)
> > 
> > I do appreciate the explanations very much.
> > 
> > I am having a problem with a port in which if NO_STAGE is not set, 
> > then the build part of the process fails.  As far as I can tell, 
> > staging should not effect the build part of the process in any
> > way. So two questions: 1.  If I set NO_STAGE=yes in that port, is
> > this going to be a big problem?  It will have to be a work around
> > until I can get the next question answered: 2.  Any ideas on why
> > staging would effect the build process?  The port includes
> > subpackages that use "./configure; make; make install" and are
> > supposed to install into $WRKSRC/local, but instead sometimes 
> > installs into $WRKDIR/stage/portname/work/pkgname/local.
> 
> FYI
> 
> So when NO_STAGE is not set, MAKE_ARGS includes
> DESTDIR=$WRKDIR/work/stage.
> 
> This messes up the build process on this port.
> 
> This is probably something to be fixed way down the road, and perhaps
> it is my port that needs fixing.

If for your port DESTDIR means something else, and STAGEDIR is expecting to be
exposed though another variable then change DESTDIRNAME which is DESTDIR by
default.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131004/3d9718cb/attachment.sig>


More information about the freebsd-ports mailing list