Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 05:18:47 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        Brooks Davis <brooks@one-eyed-alien.net>, Dag-Erling Sm?rgrav <des@des.no>, src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org
Subject:   Re: cvs commit: src/etc rc.subr
Message-ID:  <20060821021846.GA26420@gothmog.pc>
In-Reply-To: <20060821020208.GD36875@comp.chem.msu.su>
References:  <200608181210.k7ICAIme084410@repoman.freebsd.org> <86ejvet9m6.fsf@xps.des.no> <20060818143310.GA14203@comp.chem.msu.su> <20060818143508.GA2545@lor.one-eyed-alien.net> <20060818153744.GA14726@comp.chem.msu.su> <20060820185525.GA12000@gothmog.pc> <20060821020208.GD36875@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-08-21 06:02, Yar Tikhiy <yar@comp.chem.msu.su> wrote:
>On Sun, Aug 20, 2006 at 09:55:25PM +0300, Giorgos Keramidas wrote:
>>On 2006-08-18 19:37, Yar Tikhiy <yar@comp.chem.msu.su> wrote:
>>> Creating the compat symlinks should be as easy as adding the following
>>> lines to the Makefile:
>>>
>>> SYMLINKS=	${BINDIR}/pgrep /usr/bin/pgrep
>>> SYMLINKS+=	${BINDIR}/pkill /usr/bin/pkill
>>
>> Hmmm.  Shouldn't this be using ${DESTDIR} in the right-hand paths?
>
> I thought the same, peeked in /usr/share/mk/bsd.links.mk, and found
> that it would take care of ${DESTDIR} internally.  I had to scratch
> my head a couple of times before I got why ${DESTDIR} was prepended
> to both paths in LINKS, but only to the right-hand path in SYMLINKS.
> :-)

Ah!  I feel much better now, knowing that "make install" won't clobber
/usr/bin stuff when I use DESTDIR.  Thanks :)




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