Revert previous; install -l r doesn't appear to work correctly when

DESTDIR is a symlink.
(Yet another reason why "-l r" looks good on paper but sucks in practice).
This commit is contained in:
lukem 2004-02-09 06:35:18 +00:00
parent d51a64d931
commit 68edea2915
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.247 2004/02/06 12:34:11 lukem Exp $
# $NetBSD: bsd.lib.mk,v 1.248 2004/02/09 06:35:18 lukem Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@ -586,7 +586,7 @@ ${DESTDIR}${_LIBSODIR}/lib${LIB}.so.${SHLIB_FULLVERSION}: lib${LIB}.so.${SHLIB_F
${DESTDIR}${_LIBSODIR}/lib${LIB}.so
.if ${_LIBSODIR} != ${LIBDIR}
${INSTALL_SYMLINK} ${SYSPKGTAG} \
-l r ${DESTDIR}${_LIBSODIR}/lib${LIB}.so.${SHLIB_FULLVERSION} \
${_LIBSODIR}/lib${LIB}.so.${SHLIB_FULLVERSION} \
${DESTDIR}${LIBDIR}/lib${LIB}.so
.endif
.endif