aboutsummaryrefslogtreecommitdiffstats
path: root/editors/apel
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2012-02-12 22:26:24 +0800
committernobutaka <nobutaka@FreeBSD.org>2012-02-12 22:26:24 +0800
commit6d4d17e820fb606a9345bb1b91755039c24b036f (patch)
tree1f58f26ab4988ba1058b95e0825673d43f693b58 /editors/apel
parentbdc54affc33a020f4c196a72cdd965033177acf7 (diff)
downloadfreebsd-ports-gnome-6d4d17e820fb606a9345bb1b91755039c24b036f.tar.gz
freebsd-ports-gnome-6d4d17e820fb606a9345bb1b91755039c24b036f.tar.zst
freebsd-ports-gnome-6d4d17e820fb606a9345bb1b91755039c24b036f.zip
Fix PLIST_SUB for emacs-devel.
Submitted by: John Hein <jhein@symmetricom.com>
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=""