Strip any trailing slash off of the -D argument to install to support the

rather fragile destdir stripping in the metalog.
This commit is contained in:
brooks 2013-01-24 17:12:02 +00:00
parent df93558da4
commit 8dd476ca0f

View File

@ -368,7 +368,7 @@ MTREEFLAGS+= -N ${.CURDIR}/etc
METALOG?= ${DESTDIR}/${DISTDIR}/METALOG
IMAKE+= -DNO_ROOT METALOG=${METALOG}
INSTALL_DDIR= ${DESTDIR}/${DISTDIR}
INSTALLFLAGS+= -U -M ${METALOG} -D ${INSTALL_DDIR:S://:/:g}
INSTALLFLAGS+= -U -M ${METALOG} -D ${INSTALL_DDIR:S://:/:g:C:/$::}
MTREEFLAGS+= -W
.endif
.if defined(DB_FROM_SRC) || defined(NO_ROOT)