From ba6850f84e0d26ae8259bc197d04523428d683a8 Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Mon, 24 Oct 2022 22:08:25 +0900 Subject: [PATCH] www/emacs-w3m: Fix pkg-plist when OCTET_VIEWER option is off PR: 267155 Reported by: yasu --- www/emacs-w3m/Makefile | 4 ++++ www/emacs-w3m/pkg-plist | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile index d70322642409..c8ec215ed8c6 100644 --- a/www/emacs-w3m/Makefile +++ b/www/emacs-w3m/Makefile @@ -61,6 +61,10 @@ PLIST_SUB+= EMACS28="@comment " post-patch: @${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4 +post-install: + ${RM} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3m/mew-shimbun.elc \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3m/mew-w3m.elc + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/www/emacs-w3m/pkg-plist b/www/emacs-w3m/pkg-plist index 0a3f2722d890..d53e1d2cb399 100644 --- a/www/emacs-w3m/pkg-plist +++ b/www/emacs-w3m/pkg-plist @@ -45,7 +45,7 @@ %%EMACS_VERSION_SITE_LISPDIR%%/w3m/bookmark-w3m.elc %%EMACS_VERSION_SITE_LISPDIR%%/w3m/mew-w3m.el %%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.el -%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.elc +%%OCTET_VIEWER%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.elc %%EMACS_VERSION_SITE_LISPDIR%%/w3m/octet.el %%OCTET_VIEWER%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/octet.elc %%SHIMBUN%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mew-shimbun.el