summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authortron <tron>2012-12-22 10:34:20 +0000
committertron <tron>2012-12-22 10:34:20 +0000
commit89bd2787de674859b161252c42d81adebb13517c (patch)
treed4a6d118dfbf173a7fb3fc38a02f31f03bd51028 /editors
parent23d4d2150eed2d5d6cb2a11f022477cd367df69b (diff)
downloadpkgsrc-89bd2787de674859b161252c42d81adebb13517c.tar.gz
Fix ctags(1) manual page if the package gets built with manual page
compression. Bump package revivison because of this bug fix.
Diffstat (limited to 'editors')
-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"