From 30cadb3ca071add609e7030364d55d341aa99b71 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 21 Oct 2003 16:41:44 +0000 Subject: Prefix ${DESTDIR} to installation directory. Oops. Problem found by danh@, thx! --- usr.sbin/pkg_add/Makefile.bsd-wrapper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/Makefile.bsd-wrapper b/usr.sbin/pkg_add/Makefile.bsd-wrapper index 4bf43685234..7efd89efa76 100644 --- a/usr.sbin/pkg_add/Makefile.bsd-wrapper +++ b/usr.sbin/pkg_add/Makefile.bsd-wrapper @@ -3,7 +3,9 @@ MAN=pkg_add.1 pkg_info.1 pkg_create.1 pkg_delete.1 pkg.1 depend Makefile: - perl ${.CURDIR}/Makefile.PL + perl ${.CURDIR}/Makefile.PL \ + INSTALLSCRIPT='$${DESTDIR}/usr/sbin' \ + INSTALLPRIVLIB='$${DESTDIR}/usr/libdata/perl5/' all: Makefile cd ${.OBJDIR} && exec ${MAKE} -- cgit v1.2.3