mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- 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)
This commit is contained in:
parent
f49a9118be
commit
b866cd829a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255830
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= emacs
|
PORTNAME= emacs
|
||||||
PORTVERSION= ${EMACS_VER}
|
PORTVERSION= ${EMACS_VER}
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= editors ipv6
|
CATEGORIES= editors ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||||
@ -29,7 +29,7 @@ GNU_CONFIGURE= yes
|
|||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
|
||||||
USE_GETTEXT= yes
|
LICENSE= GPLv3
|
||||||
|
|
||||||
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
|
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
|
||||||
grep-changelog.1 rcs-checkin.1
|
grep-changelog.1 rcs-checkin.1
|
||||||
@ -111,10 +111,6 @@ CONFIGURE_ARGS+= --with-x-toolkit=gtk
|
|||||||
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
|
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_SOUND)
|
|
||||||
CONFIGURE_ARGS+= --without-sound
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITHOUT_SYNC_INPUT)
|
.if defined(WITHOUT_SYNC_INPUT)
|
||||||
CONFIGURE_ARGS+= --without-sync-input
|
CONFIGURE_ARGS+= --without-sync-input
|
||||||
.endif
|
.endif
|
||||||
@ -192,6 +188,10 @@ CONFIGURE_ARGS+= --without-xim
|
|||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_SOUND)
|
||||||
|
CONFIGURE_ARGS+= --without-sound
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_DBUS)
|
.if defined(WITHOUT_DBUS)
|
||||||
CONFIGURE_ARGS+= --without-dbus
|
CONFIGURE_ARGS+= --without-dbus
|
||||||
.else
|
.else
|
||||||
@ -203,6 +203,10 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_NLS)
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_SOURCES)
|
.if defined(WITHOUT_SOURCES)
|
||||||
PLIST_SUB+= SOURCES="@comment "
|
PLIST_SUB+= SOURCES="@comment "
|
||||||
.else
|
.else
|
||||||
@ -214,7 +218,7 @@ BROKEN= Emacs 23.X does not currently build on ia64
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OSVERSION} < 700000 && defined(WITHOUT_X11) && defined(WITH_DBUS)
|
.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
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= emacs
|
PORTNAME= emacs
|
||||||
PORTVERSION= ${EMACS_VER}
|
PORTVERSION= ${EMACS_VER}
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= editors ipv6
|
CATEGORIES= editors ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||||
@ -29,7 +29,7 @@ GNU_CONFIGURE= yes
|
|||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
|
||||||
USE_GETTEXT= yes
|
LICENSE= GPLv3
|
||||||
|
|
||||||
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
|
MAN1= b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
|
||||||
grep-changelog.1 rcs-checkin.1
|
grep-changelog.1 rcs-checkin.1
|
||||||
@ -111,10 +111,6 @@ CONFIGURE_ARGS+= --with-x-toolkit=gtk
|
|||||||
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
|
CONFIGURE_ARGS+= --without-toolkit-scroll-bars
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_SOUND)
|
|
||||||
CONFIGURE_ARGS+= --without-sound
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITHOUT_SYNC_INPUT)
|
.if defined(WITHOUT_SYNC_INPUT)
|
||||||
CONFIGURE_ARGS+= --without-sync-input
|
CONFIGURE_ARGS+= --without-sync-input
|
||||||
.endif
|
.endif
|
||||||
@ -192,6 +188,10 @@ CONFIGURE_ARGS+= --without-xim
|
|||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_SOUND)
|
||||||
|
CONFIGURE_ARGS+= --without-sound
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_DBUS)
|
.if defined(WITHOUT_DBUS)
|
||||||
CONFIGURE_ARGS+= --without-dbus
|
CONFIGURE_ARGS+= --without-dbus
|
||||||
.else
|
.else
|
||||||
@ -203,6 +203,10 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_NLS)
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_SOURCES)
|
.if defined(WITHOUT_SOURCES)
|
||||||
PLIST_SUB+= SOURCES="@comment "
|
PLIST_SUB+= SOURCES="@comment "
|
||||||
.else
|
.else
|
||||||
@ -214,7 +218,7 @@ BROKEN= Emacs 23.X does not currently build on ia64
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OSVERSION} < 700000 && defined(WITHOUT_X11) && defined(WITH_DBUS)
|
.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
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
Loading…
Reference in New Issue
Block a user