cvs commit: src/etc rc.subr
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Aug 21 02:20:09 UTC 2006
On 2006-08-21 06:02, Yar Tikhiy <yar at 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 at 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 :)
More information about the cvs-src
mailing list