ports/146979: editors/emacs configuration ignores "-D WITHOUT_X11"
Anonymous
swell.k at gmail.com
Wed May 26 05:20:06 UTC 2010
The following reply was made to PR ports/146979; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: Paul Hoffman <phoffman at proper.com>
Cc: bug-followup at FreeBSD.org, Ashish SHUKLA <wahjava at gmail.com>
Subject: Re: ports/146979: editors/emacs configuration ignores "-D WITHOUT_X11"
Date: Wed, 26 May 2010 09:13:10 +0400
SOUND support is not related to X11. It may depend on alsa-lib when it's
installed but that's all. This should let you build with minimum
dependencies (only devel/gmake)
$ make WITHOUT_X11= WITHOUT_DBUS= BATCH=
I'm not sure what GETTEXT is doing there, though. It's not used by emacs
directly and is useless for nox11 builds. And this comment gives pretty
clear answer in which specific case it's needed
# Solaris requires -lintl if you want strerror (which calls dgettext)
# to return localized messages.
AC_CHECK_LIB(intl, dgettext)
--- a.diff begins here ---
Index: editors/emacs/Makefile
===================================================================
RCS file: /a/.cvsup/ports/editors/emacs/Makefile,v
retrieving revision 1.95
diff -u -p -r1.95 Makefile
--- editors/emacs/Makefile 21 May 2010 19:51:04 -0000 1.95
+++ editors/emacs/Makefile 26 May 2010 05:12:18 -0000
@@ -28,8 +28,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
-USE_GETTEXT= yes
-
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
grep-changelog.1 rcs-checkin.1
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
--- a.diff ends here ---
More information about the freebsd-ports-bugs
mailing list