Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2010 23:13:22 +0530 (IST)
From:      Ashish SHUKLA <wahjava@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/147087: [PATCH] Fixes in editors/emacs port.
Message-ID:  <20100526174322.6E7ED4AE2F@chateau.d.if>
Resent-Message-ID: <201005261750.o4QHo21N008464@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100526174322.6E7ED4AE2F>