Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2015 22:10:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 76362] [patch] sys directory link points to wrong location
Message-ID:  <bug-76362-8-wT7ifEDNMC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-76362-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-76362-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=76362

NGie Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-bugs@FreeBSD.org    |ngie@FreeBSD.org

--- Comment #4 from NGie Cooper <ngie@FreeBSD.org> ---
(In reply to NGie Cooper from comment #3)

This works with relative symlinks, i.e. DESTDIR != /:

$ svn diff etc/
Index: etc/Makefile
===================================================================
--- etc/Makefile    (revision 290831)
+++ etc/Makefile    (working copy)
@@ -408,7 +408,7 @@
                    ${METALOG.add} ; \
        done; true
 .endif
-       ${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys
+       ${INSTALL_SYMLINK} ${SRCTOP:C/^\///}/sys ${DESTDIR}/sys
 .if ${MK_MAN} != "no"
        cd ${DESTDIR}${SHAREDIR}/man; \
        for mandir in man*; do \

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-76362-8-wT7ifEDNMC>