summaryrefslogtreecommitdiffstats
path: root/editors/emacs23/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs23/Makefile')
-rw-r--r--editors/emacs23/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/emacs23/Makefile b/editors/emacs23/Makefile
index b315566..c0798b1 100644
--- a/editors/emacs23/Makefile
+++ b/editors/emacs23/Makefile
@@ -177,7 +177,7 @@ BROKEN= Emacs 23.X does not currently build on ia64
post-patch:
@${RM} -f ${WRKSRC}/info/*
@${REINPLACE_CMD} -e "s/%%EMACS_VER%%/${EMACS_VER}/g" -e "s/%%DATADIR%%/${DATADIR:C/\//\\\//g}/g" ${WRKSRC}/sources.el
-.if defined(WITHOUT_X11)
+.if empty(PORT_OPTIONS:MX11)
@${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop
.endif
OpenPOWER on IntegriCloud