summaryrefslogtreecommitdiff
path: root/editors/emacs21/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2001-12-17 06:06:57 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2001-12-17 06:06:57 +0000
commit7249364dafb492247e90a6aca18609f70f24ae05 (patch)
treebff5357353e2050bde8e42de31af6c70f14cd624 /editors/emacs21/Makefile
parentFix pcre package building once and for all. (diff)
Disable menubar fontset support by default.
Add menubar fontset setting instructions to pkg-message.
Diffstat (limited to '')
-rw-r--r--editors/emacs21/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile
index bdff403dadc0..1ae9166204b5 100644
--- a/editors/emacs21/Makefile
+++ b/editors/emacs21/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= 21.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,7 +24,7 @@ USE_XLIB= yes
USE_XPM= yes
.endif
-.if !defined(WITHOUT_MENUBAR_FONTSET)
+.if defined(WITH_MENUBAR_FONTSET)
PATCH_SITES= http://www.nijino.com/ari/patches/
PATCHFILES= emacs-21.1-fontset-20011109.patch.gz
PATCH_DIST_STRIP= -p1
@@ -51,6 +51,13 @@ TEXIFILES= ada-mode autotype cc-mode cl dired-x ebrowse ediff \
LATEST_LINK= emacs21
+pre-everything::
+.if !defined(WITH_MENUBAR_FONTSET)
+ @${ECHO_MSG} "====>"
+ @${ECHO_MSG} "====> To enable menubar fontset support, define WITH_MENUBAR_FONTSET"
+ @${ECHO_MSG} "====>"
+.endif
+
post-patch:
@${RM} -f ${WRKSRC}/info/*
@(cd ${WRKSRC}/man ; \