Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 21:49:47 +0400 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   Re: svn commit: r248352 - in stable/9: etc share/mk
Message-ID:  <alpine.BSF.2.00.1303192148030.39428@woozle.rinet.ru>
In-Reply-To: <20130319161239.GB80942@lor.one-eyed-alien.net>
References:  <201303152132.r2FLWfwx076672@svn.freebsd.org> <alpine.BSF.2.00.1303171807530.80753@woozle.rinet.ru> <20130319161239.GB80942@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Mar 2013, Brooks Davis wrote:

> > >   Replace all known uses of ln in the build process with appropriate
> > >   install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
> > >   variables.
> > 
> > It seems this merge breaks ``make distribution'' and hence mergemaster if your 
> > base system is not updated yet (for example, while updating jail):
> 
> Sorry for the delay in responding.  I missed this yesterday.
> 
> It works for me on a older 9.0-STABLE system where the base install
> doesn't support -l.  Did you build world or run "make toolchain" in that
> source tree to build the bootstrap copy of install?

Yes, this is after full ``make buildworld buildkernel'' process.

For me, I use an obvious quick'n'dirty hack (bad, I know, but useable for me as 
a workaround)

marck@castor:/FreeBSD/rinet/src.9.newcarp> svn diff share/mk
Index: share/mk/bsd.own.mk
===================================================================
--- share/mk/bsd.own.mk (revision 248523)
+++ share/mk/bsd.own.mk (working copy)
@@ -187,8 +187,8 @@
 HRDLINK?=      -l h
 SYMLINK?=      -l s
 
-INSTALL_LINK?=         ${INSTALL} ${HRDLINK}
-INSTALL_SYMLINK?=      ${INSTALL} ${SYMLINK}
+INSTALL_LINK?=         ln -f
+INSTALL_SYMLINK?=      ln -fs
 
 # Common variables
 .if !defined(DEBUG_FLAGS)




-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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