summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authordholland <dholland>2012-06-18 08:19:42 +0000
committerdholland <dholland>2012-06-18 08:19:42 +0000
commitb08f98f70bad3474f9d771b39cd360f685f8bcda (patch)
tree339ef9d3abfc9b5b7bea8a7fdbae081a285719c0 /editors/emacs22
parent60486584edc4aa16da7c1bf533429fc771898c67 (diff)
downloadpkgsrc-b08f98f70bad3474f9d771b39cd360f685f8bcda.tar.gz
Make sure that the elisp subdirs, which are installed by tar-copy, come
out with the right permissions. I'm sometimes getting them coming out mode 754, which fails the build if PKG_DEVELOPER is set.
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 1ae4d8712ef..71cd6daebfa 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/06/14 07:44:36 sbd Exp $
+# $NetBSD: Makefile,v 1.23 2012/06/18 08:19:42 dholland Exp $
PKGNAME?= ${DISTNAME}
COMMENT?= GNU editing macros (editor)
@@ -74,6 +74,14 @@ post-extract:
cp ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s
${CHMOD} -R go-w ${WRKSRC}
+# These dirs are installed by tar-copy and can sometimes come out mode
+# 754, which if PKG_DEVELOPER is set causes the build to fail.
+post-install:
+.for file in leim leim/ja-dic leim/quail
+ ${CHMOD} 755 ${DESTDIR}${PREFIX}/share/emacs/${PKGVERSION_NOREV}/${file}
+.endfor
+
+
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"