aboutsummaryrefslogtreecommitdiff
path: root/shells/mksh
diff options
context:
space:
mode:
Diffstat (limited to 'shells/mksh')
-rw-r--r--shells/mksh/Makefile4
-rw-r--r--shells/mksh/pkg-install2
2 files changed, 3 insertions, 3 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index e875aa47ed21..9ada3f03b8e1 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -47,11 +47,11 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/mksh.1 ${MANPREFIX}/man/man1
pre-install:
- @${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
+ @${SETENV} PKG_PREFIX="${PREFIX}" \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
- @${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
+ @${SETENV} PKG_PREFIX="${PREFIX}" \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
diff --git a/shells/mksh/pkg-install b/shells/mksh/pkg-install
index dea9b5231c91..87dea009ba0a 100644
--- a/shells/mksh/pkg-install
+++ b/shells/mksh/pkg-install
@@ -4,7 +4,7 @@
#
MKSH="${PKG_PREFIX-/usr/local}/bin/mksh"
-SHELLS="${PKG_DESTDIR-}/etc/shells"
+SHELLS="/etc/shells"
case $2 in
POST-INSTALL)