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:
parent
df93558da4
commit
8dd476ca0f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user