summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-10-21 16:41:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-10-21 16:41:44 +0000
commit30cadb3ca071add609e7030364d55d341aa99b71 (patch)
tree0d373788ebb4e10d4f337aea03071dc6a72e5e4d /usr.sbin/pkg_add
parente0d555f96f019382ff04e01e8bf9b00a3e033ebb (diff)
Prefix ${DESTDIR} to installation directory.
Oops. Problem found by danh@, thx!
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/Makefile.bsd-wrapper4
1 files changed, 3 insertions, 1 deletions
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}