Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 23:59:37 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462549 - in head/editors: emacs emacs-devel
Message-ID:  <201802212359.w1LNxbqu091438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Wed Feb 21 23:59:37 2018
New Revision: 462549
URL: https://svnweb.freebsd.org/changeset/ports/462549

Log:
  Emacs ports: Add USES=localbase:ldflags and MAILUTILS option
  
  Refer to
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10313
  https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00044.html

Modified:
  head/editors/emacs-devel/Makefile   (contents, props changed)
  head/editors/emacs/Makefile   (contents, props changed)

Modified: head/editors/emacs-devel/Makefile
==============================================================================
--- head/editors/emacs-devel/Makefile	Wed Feb 21 23:26:40 2018	(r462548)
+++ head/editors/emacs-devel/Makefile	Wed Feb 21 23:59:37 2018	(r462549)
@@ -21,7 +21,8 @@ full_PKGNAMESUFFIX=	-devel
 nox_CONFLICTS_INSTALL=	emacs-devel
 nox_PKGNAMESUFFIX=	-devel_nox
 
-USES=		autoreconf:build cpe gmake makeinfo ncurses pkgconfig
+USES=		autoreconf:build cpe gmake localbase:ldflags makeinfo ncurses \
+		pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	emacs-mirror
 GH_TAGNAME=	d599dce
@@ -47,8 +48,8 @@ INFO=	ada-mode auth autotype bovine calc ccmode cl dbu
 	rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar \
 	srecode todo-mode tramp url vhdl-mode vip viper widget wisent woman
 
-OPTIONS_DEFINE=	ACL DBUS GCONF GNUTLS GSETTINGS LCMS2 LLDB M17N MODULES OTF \
-		SCROLLBARS SOURCES THREADS XFT XIM XML XWIDGETS
+OPTIONS_DEFINE=	ACL DBUS GCONF GNUTLS GSETTINGS LCMS2 LLDB M17N MAILUTILS \
+		MODULES OTF SCROLLBARS SOURCES THREADS XFT XIM XML XWIDGETS
 OPTIONS_DEFAULT=	ACL DBUS FREEDESKTOP GCONF GIF GNUTLS GSETTINGS GTK3 \
 		JPEG KQUEUE LCMS2 M17N MAGICK MODULES OSS OTF PNG \
 		SCROLLBARS SOURCES SVG THREADS TIFF XFT XIM XML XPM
@@ -72,6 +73,7 @@ LLDB_DESC=	Enable LLDB support for GUD
 #LTO_DESC=	Enable link-time optimization
 MAGICK_DESC=	ImageMagick support
 M17N_DESC=	M17N support for text-shaping (implies XFT)
+MAILUTILS_DESC=	Mail framework via GNU Mailutils
 MODULES_DESC=	Dynamic modules support
 OTF_DESC=	Opentype fonts support        (implies XFT)
 SCROLLBARS_DESC=Toolkit scroll-bars
@@ -122,6 +124,8 @@ M17N_CONFIGURE_WITH=	m17n-flt
 M17N_IMPLIES=		XFT
 MAGICK_LIB_DEPENDS=	libMagickCore-6.so:graphics/ImageMagick
 MAGICK_CONFIGURE_WITH=	imagemagick
+MAILUTILS_CONFIGURE_WITH=	mailutils
+MAILUTILS_LIB_DEPENDS=	libmailutils.so:mail/mailutils
 MODULES_CONFIGURE_WITH=	modules
 MOTIF_USES=		motif
 MOTIF_CONFIGURE_ON=	--with-x-toolkit=motif

Modified: head/editors/emacs/Makefile
==============================================================================
--- head/editors/emacs/Makefile	Wed Feb 21 23:26:40 2018	(r462548)
+++ head/editors/emacs/Makefile	Wed Feb 21 23:59:37 2018	(r462549)
@@ -26,7 +26,7 @@ canna_LIB_DEPENDS=	libcanna.so:japanese/canna-lib
 nox_CONFLICTS_INSTALL=	emacs emacs-canna
 nox_PKGNAMESUFFIX=	-nox
 
-USES=		cpe gmake makeinfo ncurses pkgconfig tar:xz
+USES=		cpe gmake localbase:ldflags makeinfo ncurses pkgconfig tar:xz
 
 CPE_VENDOR=	gnu
 EMACS_VER=	25.3
@@ -50,9 +50,9 @@ INFO=	ada-mode auth autotype bovine calc ccmode cl dbu
 	rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar \
 	srecode todo-mode tramp url vhdl-mode vip viper widget wisent woman
 
-OPTIONS_DEFINE=	ACL DBUS GCONF GNUTLS GSETTINGS LLDB M17N MODULES OTF SCROLLBARS\
-		SOURCES XFT XIM XML XWIDGETS
-OPTIONS_DEFAULT=	ACL DBUS GCONF GIF GNUTLS GSETTINGS GTK3 JPEG KQUEUE  \
+OPTIONS_DEFINE=	ACL DBUS GCONF GNUTLS GSETTINGS LLDB M17N MAILUTILS MODULES OTF \
+		SCROLLBARS SOURCES XFT XIM XML XWIDGETS
+OPTIONS_DEFAULT=	ACL DBUS GCONF GIF GNUTLS GSETTINGS GTK3 JPEG KQUEUE \
 		M17N MAGICK MODULES OSS OTF PNG SCROLLBARS SOURCES SVG \
 		TIFF XFT XIM XML XPM
 OPTIONS_SUB=	YES
@@ -74,6 +74,7 @@ KQUEUE_DESC=	File notification via kqueue
 LLDB_DESC=	LLDB support for GUD
 #LTO_DESC=	Enable link-time optimization
 MAGICK_DESC=	ImageMagick image processing support
+MAILUTILS_DESC=	Mail framework via GNU Mailutils
 M17N_DESC=	M17N for text-shaping                  (implies XFT)
 MODULES_DESC=	Dynamic modules support
 OTF_DESC=	Opentype fonts                         (implies XFT)
@@ -121,6 +122,8 @@ M17N_LIB_DEPENDS=	libm17n.so:devel/m17n-lib
 M17N_CONFIGURE_WITH=	m17n-flt
 MAGICK_LIB_DEPENDS=	libMagickCore-6.so:graphics/ImageMagick
 MAGICK_CONFIGURE_WITH=	imagemagick
+MAILUTILS_CONFIGURE_WITH=	mailutils
+MAILUTILS_LIB_DEPENDS=	libmailutils.so:mail/mailutils
 MODULES_CONFIGURE_WITH=	modules
 MOTIF_USES=		motif
 MOTIF_CONFIGURE_ON=	--with-x-toolkit=motif



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