summaryrefslogtreecommitdiff
path: root/editors/apel
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2012-02-12 14:26:24 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2012-02-12 14:26:24 +0000
commit479ad447937bc5a01ede2784e5f994c9b03c4a9e (patch)
treec57e02ceb77fcaee5dee594513838f7cac2f5ce9 /editors/apel
parent- Unbreak (diff)
Fix PLIST_SUB for emacs-devel.
Submitted by: John Hein <jhein@symmetricom.com>
Notes
Notes: svn path=/head/; revision=291038
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 7e8dbf329e53..b1d948aa2b9e 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -35,7 +35,7 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
.include <bsd.port.pre.mk>
-.if (${EMACS_PORT_NAME} == "emacs23")
+.if ${EMACS_VER:C/\..*//} >= 23
PLIST_SUB+= EMACS23="" NOEMACS23="@comment "
.else
PLIST_SUB+= EMACS23="@comment " NOEMACS23=""