From 8dd476ca0feb4d47f54d7377f12212a866fc027c Mon Sep 17 00:00:00 2001 From: brooks Date: Thu, 24 Jan 2013 17:12:02 +0000 Subject: Strip any trailing slash off of the -D argument to install to support the rather fragile destdir stripping in the metalog. --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 88f5eac..d43dcc7 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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) -- cgit v1.1