aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pkg_install-devel/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pkg_install-devel/pkg-install')
-rw-r--r--sysutils/pkg_install-devel/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/pkg_install-devel/pkg-install b/sysutils/pkg_install-devel/pkg-install
index 72ac81eaf581..f29172829e88 100644
--- a/sysutils/pkg_install-devel/pkg-install
+++ b/sysutils/pkg_install-devel/pkg-install
@@ -13,9 +13,9 @@ TOOLS="add check create delete info sign update version"
PREFIX=${PKG_PREFIX:-/usr/local}
if [ "${PREFIX}" = "/usr" ]; then
- MANPREFIX="${PREFIX}/share"
+ MANPREFIX="${TARGETDIR}/share"
else
- MANPREFIX="${PREFIX}"
+ MANPREFIX="${TARGETDIR}"
fi
case $2 in