summaryrefslogtreecommitdiff
path: root/sysutils/mc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-02-25 07:23:03 +0000
committerobache <obache@pkgsrc.org>2008-02-25 07:23:03 +0000
commitc579be9ab86be934bfbe675d14ef984b0c70c624 (patch)
treeafd6d35547dd17c7a46b722a4bbf2b679555d983 /sysutils/mc
parent6c632be06567f61a427880857cdfabb980db4dc7 (diff)
downloadpkgsrc-c579be9ab86be934bfbe675d14ef984b0c70c624.tar.gz
Add missing ${DESTDIR}, fixes installation problem with USE_DESTDIR.
Noticed by Rumko in pkgsrc-users@.
Diffstat (limited to 'sysutils/mc')
-rw-r--r--sysutils/mc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile
index 9c79e78c834..bfc59e157ab 100644
--- a/sysutils/mc/Makefile
+++ b/sysutils/mc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2008/02/14 12:26:56 drochner Exp $
+# $NetBSD: Makefile,v 1.73 2008/02/25 07:23:03 obache Exp $
DISTNAME= mc-4.6.1
PKGREVISION= 4
@@ -48,9 +48,9 @@ post-install:
# remove dir if no extensions were installed there
rmdir ${DESTDIR}${PREFIX:Q}/lib/mc 2>/dev/null || ${TRUE}
.if !empty(PKG_OPTIONS:Mvfs)
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/vfs/extfs/extfs.ini ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/vfs/extfs/sfs.ini ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/vfs/extfs/extfs.ini ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/vfs/extfs/sfs.ini ${DESTDIR}${EGDIR}
.endif
.include "../../devel/gettext-lib/buildlink3.mk"