ports/142035: editors/emacs compulsory dependencies too wide

Anonymous swell.k at gmail.com
Tue May 11 04:50:04 UTC 2010


The following reply was made to PR ports/142035; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/142035: editors/emacs compulsory dependencies too wide
Date: Tue, 11 May 2010 08:41:02 +0400

 Forgot to force librsvg2 off in WITHOUT_GTK case. Added --without-dbus
 since WITHOUT_X11 users such as myself most likely don't need D-Bus and
 accidental linkage is not desired.
 --- a.diff begins here ---
 Index: editors/emacs/Makefile
 ===================================================================
 RCS file: /a/.cvsup/ports/editors/emacs/Makefile,v
 retrieving revision 1.92
 diff -u -p -r1.92 Makefile
 --- editors/emacs/Makefile	3 May 2010 06:41:01 -0000	1.92
 +++ editors/emacs/Makefile	11 May 2010 04:23:49 -0000
 @@ -18,11 +18,11 @@ COMMENT=	GNU editing macros
  
  .if !defined(WITHOUT_X11)
  USE_XORG=	x11
 -USE_GNOME=	librsvg2
  .if defined(WITHOUT_GTK)
  USE_XORG=	xaw xft xpm
  .else
 -USE_GNOME+=	gtk20
 +LIB_DEPENDS+=	dbus-1.3:${PORTSDIR}/devel/dbus
 +USE_GNOME+=	gtk20 librsvg2
  .endif
  LIB_DEPENDS+=	jpeg.11:${PORTSDIR}/graphics/jpeg \
  		tiff.4:${PORTSDIR}/graphics/tiff \
 @@ -45,12 +45,12 @@ USE_GMAKE=	yes
  USE_BZIP2=	yes
  
  .if defined(WITHOUT_X11)
 -CONFIGURE_ARGS=		--with-x=no
 +CONFIGURE_ARGS=		--with-x=no --without-dbus
  .else
  .if !defined(WITHOUT_GTK)
 -CONFIGURE_ARGS=		--with-x-toolkit=gtk
 +CONFIGURE_ARGS=		--with-x-toolkit=gtk --with-rsvg --with-dbus
  .else
 -CONFIGURE_ARGS=		--with-x-toolkit=athena
 +CONFIGURE_ARGS=		--with-x-toolkit=athena --without-rsvg --without-dbus
  .endif
  LIB_DEPENDS+=		freetype.9:${PORTSDIR}/print/freetype2 \
  			m17n.4:${PORTSDIR}/devel/m17n-lib
 --- a.diff ends here ---



More information about the freebsd-ports-bugs mailing list