summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/emacs/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 7794ca1aee9..8be4e475ce5 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.151 2012/10/08 23:01:26 adam Exp $
+# $NetBSD: Makefile,v 1.152 2012/12/22 10:34:20 tron Exp $
CONFLICTS+= emacs-nox11-[0-9]*
.include "../../editors/emacs/Makefile.common"
-PKGREVISION= 9
+PKGREVISION= 10
.include "options.mk"
@@ -12,6 +12,14 @@ SUBST_STAGE.prefix= pre-configure
SUBST_VARS.prefix= PREFIX
SUBST_FILES.prefix= src/s/netbsd.h
+# Replace manual page which only includes another one with a symbolic link
+# if manual compression is activated. The manual page won't work otherwise.
+.ifdef(MANZ)
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/man/man1/ctags.1
+ ${LN} -s etags.1 ${DESTDIR}${PREFIX}/man/man1/ctags.1
+.endif
+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"