summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}