summaryrefslogtreecommitdiff
path: root/www/emacs-w3m/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/emacs-w3m/Makefile')
-rw-r--r--www/emacs-w3m/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile
index 3dafc71a672..f7908b3e006 100644
--- a/www/emacs-w3m/Makefile
+++ b/www/emacs-w3m/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/10/29 13:11:11 uebayasi Exp $
+# $NetBSD: Makefile,v 1.22 2008/04/12 22:43:13 jlam Exp $
DISTNAME= emacs-w3m-1.4.4
PKGREVISION= 1
@@ -30,11 +30,10 @@ SUBST_SED.fix-icondir= -e 's|etc/images/w3m|etc/w3m|g' \
.include "../../mk/emacs.mk"
# GNU Emacs 21 or later and XEmacs have GUI support
+PLIST_VARS+= gui
.if (${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} > 20) || \
${EMACS_FLAVOR} == "xemacs"
-PLIST_SUBST+= FOR_gui=""
-.else
-PLIST_SUBST+= FOR_gui="@comment "
+PLIST.gui= yes
.endif
DOCUMENTS= COPYING ChangeLog ChangeLog.1 README README.ja