From 89bd2787de674859b161252c42d81adebb13517c Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Dec 2012 10:34:20 +0000 Subject: Fix ctags(1) manual page if the package gets built with manual page compression. Bump package revivison because of this bug fix. --- editors/emacs/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'editors') 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" -- cgit v1.2.3