Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2003 15:41:17 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        obrien@FreeBSD.org
Cc:        Current <freebsd-current@FreeBSD.org>
Subject:   Re: Remove absolute symlink in $MAKEOBJDIR
Message-ID:  <7mr86dc776.wl@black.imgsrc.co.jp>
In-Reply-To: <20030602063304.GA16232@dragon.nuxi.com>
References:  <7mvfvpcb8s.wl@black.imgsrc.co.jp> <20030602063304.GA16232@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 1 Jun 2003 23:33:04 -0700,
David O'Brien wrote:
> I prefer the ln's over cp.  Are you sure this is the only reason for the
> same $MAKEOBJDIR requirement?  Also, typically one sets MAKEOBJDIRPREFIX,
> not MAKEOBJDIR.  Are you sure you're using the right one for what you're
> wanting to do?

Actually, I'm using MAKEOBJDIRPREFIX.  The only thing I want to do is,

o Nightly buildworld in /work/HEAD/src, /work/RELENG_5_0/src and
  /work/RELENG_5_1/src with MAKEOBJDIRPREFIX=/work/${BRANCH}/obj.
o Use /work/${BRANCH}/{src,obj} for installing the world on the other
  box.

But without this patch, I have symlinks like this:

% ls -l /work/RELENG_5_1/obj/work/RELENG_5_1/src/bin/csh/csh.1
lrwxr-xr-x  1 god  god  56 Jun  2 05:40 /work/RELENG_5_1/obj/work/RELENG_5_1/src/bin/csh/csh.1 -> /work/RELENG_5_1/src/bin/csh/../../contrib/tcsh/tcsh.man

This causes problem when installing on the other box as mounting
/usr/src and /usr/obj.

I'll appreciate if you can teach me how to build absolute-path-free
objdir in another way...


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



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