aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-06-06 04:05:46 +0800
committermiwi <miwi@FreeBSD.org>2010-06-06 04:05:46 +0800
commit000734960ce03f63d64ddbbb8cc9332ba7044841 (patch)
treefc5ac1f544ddd2803beb8c5e0f9f0caa1d996792 /editors/emacs
parentd3cfa8efc3f44ecf3dd56568b189fc754861ebb4 (diff)
downloadfreebsd-ports-gnome-000734960ce03f63d64ddbbb8cc9332ba7044841.tar.gz
freebsd-ports-gnome-000734960ce03f63d64ddbbb8cc9332ba7044841.tar.zst
freebsd-ports-gnome-000734960ce03f63d64ddbbb8cc9332ba7044841.zip
- Support for SOUND even when X11 support is disabled.
- Disables gettext support with the help of WITHOUT_NLS knob. - LICENSE. PR: 147087 Submitted by: Ashish SHUKLA <wahjava@gmail.com> (maintainer)
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 44ae4bb2f158..424d34d3d9e5 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= ${EMACS_VER}
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
@@ -29,7 +29,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
-USE_GETTEXT= yes
+LICENSE= GPLv3
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
grep-changelog.1 rcs-checkin.1
@@ -111,10 +111,6 @@ CONFIGURE_ARGS+= --with-x-toolkit=gtk
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
.endif
-.if defined(WITHOUT_SOUND)
-CONFIGURE_ARGS+= --without-sound
-.endif
-
.if defined(WITHOUT_SYNC_INPUT)
CONFIGURE_ARGS+= --without-sync-input
.endif
@@ -192,6 +188,10 @@ CONFIGURE_ARGS+= --without-xim
.endif
+.if defined(WITHOUT_SOUND)
+CONFIGURE_ARGS+= --without-sound
+.endif
+
.if defined(WITHOUT_DBUS)
CONFIGURE_ARGS+= --without-dbus
.else
@@ -203,6 +203,10 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+.endif
+
.if defined(WITHOUT_SOURCES)
PLIST_SUB+= SOURCES="@comment "
.else
@@ -214,7 +218,7 @@ BROKEN= Emacs 23.X does not currently build on ia64
.endif
.if ${OSVERSION} < 700000 && defined(WITHOUT_X11) && defined(WITH_DBUS)
-BROKEN= Does not currently build with dbus support but without X11
+BROKEN= Does not currently build with dbus support but without X11
.endif
post-patch: