diff options
author | ashish <ashish@FreeBSD.org> | 2013-02-17 17:17:41 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2013-02-17 17:17:41 +0800 |
commit | 433efbe289254fe3bde98cce1f251108cf6ba322 (patch) | |
tree | b90c3a64cbfea8779fbbda894804e207d6d7b516 /editors | |
parent | ac01b89a7389aea7e80e47a10f2dc7af880ce0da (diff) | |
download | freebsd-ports-gnome-433efbe289254fe3bde98cce1f251108cf6ba322.tar.gz freebsd-ports-gnome-433efbe289254fe3bde98cce1f251108cf6ba322.tar.zst freebsd-ports-gnome-433efbe289254fe3bde98cce1f251108cf6ba322.zip |
- Fix SOUND support[1]
- Make GSETTINGS option depend on DBUS option, as GSettings requires
DBus to be functional[2]
- Remove ABI versions from LIB_DEPENDS
PR: ports/176055[1], ports/175990[2]
Submitted by: Zeus Panchenko <zeus.panchenko at gmail.com>[1],
Fabian Keil <fk at fabiankeil.de>[2]
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/Makefile | 25 | ||||
-rw-r--r-- | editors/emacs/files/patch-configure | 20 |
2 files changed, 19 insertions, 26 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index e56e23031700..ee0943c7dc93 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -60,7 +60,7 @@ OPTIONS_DEFINE= CANNA DBUS GCONF GIF JPEG M17N OTF PNG SOUND SOURCES SVG TIFF SY OPTIONS_SINGLE= X11TOOLKIT CANNA_DESC= Canna support -GSETTINGS_DESC= GSettings support +GSETTINGS_DESC= GSettings support (requires DBUS) SCROLLBARS_DESC= Toolkit scroll-bars SOUND_DESC= Sound support SOURCES_DESC= Install sources @@ -89,7 +89,7 @@ PATCH_DIST_STRIP= -p1 CONFIGURE_ARGS+= --with-canna \ --with-canna-includes=${LOCALBASE}/include \ --with-canna-libraries=${LOCALBASE}/lib -LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/canna-lib +LIB_DEPENDS+= canna:${PORTSDIR}/japanese/canna-lib .endif .if defined(WITHOUT_X11) @@ -111,7 +111,7 @@ CONFIGURE_ARGS+= --with-x-toolkit=gtk USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-x-toolkit=gtk3 .elif ${PORT_OPTIONS:MXAW3D} -LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d +LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d CONFIGURE_ARGS+= --with-x-toolkit=athena .elif ${PORT_OPTIONS:MXAW} USE_XORG= xaw @@ -130,19 +130,19 @@ CONFIGURE_ARGS+= --without-sync-input .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg .else CONFIGURE_ARGS+= --without-jpeg .endif .if ${PORT_OPTIONS:MTIFF} -LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff +LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff .else CONFIGURE_ARGS+= --without-tiff .endif .if ${PORT_OPTIONS:MGIF} -LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib +LIB_DEPENDS+= gif:${PORTSDIR}/graphics/giflib .else CONFIGURE_ARGS+= --without-gif .endif @@ -161,17 +161,17 @@ CONFIGURE_ARGS+= --without-xpm .if ${PORT_OPTIONS:MXFT} USE_XORG+= xft -LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 CONFIGURE_ARGS+= --with-xft .if ${PORT_OPTIONS:MM17N} CONFIGURE_ARGS+= --with-m17n-flt -LIB_DEPENDS+= m17n.4:${PORTSDIR}/devel/m17n-lib +LIB_DEPENDS+= m17n:${PORTSDIR}/devel/m17n-lib .else CONFIGURE_ARGS+= --without-m17n-flt .endif .if ${PORT_OPTIONS:MOTF} CONFIGURE_ARGS+= --with-otf -LIB_DEPENDS+= otf.0:${PORTSDIR}/print/libotf +LIB_DEPENDS+= otf:${PORTSDIR}/print/libotf .else CONFIGURE_ARGS+= --without-libotf .endif @@ -221,10 +221,13 @@ CONFIGURE_ARGS+= --without-sound .endif .if ${PORT_OPTIONS:MDBUS} -LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+= --with-dbus .else CONFIGURE_ARGS+= --without-dbus +.if ${PORT_OPTIONS:MGSETTINGS} +IGNORE= GSettings support requires DBUS. Please run 'make config' +.endif .endif .if ${PORT_OPTIONS:MXML} @@ -235,7 +238,7 @@ CONFIGURE_ARGS+= --without-xml2 .endif .if ${PORT_OPTIONS:MGNUTLS} -LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls +LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --with-gnutls .else CONFIGURE_ARGS+= --without-gnutls diff --git a/editors/emacs/files/patch-configure b/editors/emacs/files/patch-configure index 65a5a0b1d1a7..014058cf4714 100644 --- a/editors/emacs/files/patch-configure +++ b/editors/emacs/files/patch-configure @@ -3,7 +3,7 @@ $FreeBSD$ --- configure.orig +++ configure -@@ -8276,177 +8276,13 @@ +@@ -8283,159 +8283,6 @@ LIBSOUND= fi @@ -160,20 +160,10 @@ $FreeBSD$ - - fi - -- if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then -- case "$opsys" in -- gnu-linux|freebsd|netbsd) -- --$as_echo "#define HAVE_SOUND 1" >>confdefs.h -- -- ;; -- esac -- fi -- -- - fi - - for ac_header in sys/select.h sys/time.h unistd.h utime.h \ + if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then + case "$opsys" in + gnu-linux|freebsd|netbsd) +@@ -8453,7 +8300,7 @@ linux/version.h sys/systeminfo.h \ stdio_ext.h fcntl.h coff.h pty.h sys/mman.h \ sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |