ports/147087: [PATCH] Fixes in editors/emacs port.
Ashish SHUKLA
wahjava at gmail.com
Wed May 26 17:50:02 UTC 2010
>Number: 147087
>Category: ports
>Synopsis: [PATCH] Fixes in editors/emacs port.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed May 26 17:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ashish SHUKLA
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.if 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #3: Tue Mar 2 01:06:00 IST 2010 root at chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64
>Description:
This diff adds:
- support for SOUND even when X11 support is disabled.
- disables gettext support with the help of WITHOUT_NLS knob.
- LICENSE.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/editors/emacs/Makefile emacs/Makefile
--- /usr/ports/editors/emacs/Makefile 2010-05-22 01:21:04.000000000 +0530
+++ emacs/Makefile 2010-05-26 21:30:36.000000000 +0530
@@ -28,7 +28,7 @@
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
@@ -110,10 +110,6 @@
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
@@ -191,6 +187,10 @@
.endif
+.if defined(WITHOUT_SOUND)
+CONFIGURE_ARGS+= --without-sound
+.endif
+
.if defined(WITHOUT_DBUS)
CONFIGURE_ARGS+= --without-dbus
.else
@@ -202,6 +202,10 @@
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+.endif
+
.if defined(WITHOUT_SOURCES)
PLIST_SUB+= SOURCES="@comment "
.else
@@ -213,7 +217,7 @@
.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:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list