aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2014-01-05 04:12:38 +0800
committerashish <ashish@FreeBSD.org>2014-01-05 04:12:38 +0800
commitd123673781738e028bf4fc537e6305b34ecc41da (patch)
treee5c3bbe619105295f24dad3fd81436fe76b931ea /editors
parent6ab12af881e69c1a9a564c9b98768035c35667e6 (diff)
downloadfreebsd-ports-gnome-d123673781738e028bf4fc537e6305b34ecc41da.tar.gz
freebsd-ports-gnome-d123673781738e028bf4fc537e6305b34ecc41da.tar.zst
freebsd-ports-gnome-d123673781738e028bf4fc537e6305b34ecc41da.zip
- Fix the logic in updating emacs.desktop file, from the regression introduced
in r338450 PR: ports/185468 Submitted by: rakuco
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-nox11/Makefile2
-rw-r--r--editors/emacs/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/emacs-nox11/Makefile b/editors/emacs-nox11/Makefile
index 455f083276ba..29342220744e 100644
--- a/editors/emacs-nox11/Makefile
+++ b/editors/emacs-nox11/Makefile
@@ -3,7 +3,7 @@
PKGNAMESUFFIX= -nox11
-PORTREVISION= 9
+PORTREVISION= 10
OPTIONS_EXCLUDE=GCONF GIF JPEG OTF M17N PNG SVG TIFF SYNC_INPUT GTK2 GTK3 \
SCROLLBARS XFT XIM XPM MAGICK GSETTINGS X11 CANNA \
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 078a87db68c7..242313995cdd 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -3,7 +3,7 @@
PORTNAME= emacs
PORTVERSION= ${EMACS_VER}
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH= 3
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
@@ -214,7 +214,7 @@ BROKEN= Emacs 24.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 ${PORT_OPTIONS:MX11}
+.if !${PORT_OPTIONS:MX11}
@${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop
.endif