ports/142035: editors/emacs compulsory dependencies too wide
Anonymous
swell.k at gmail.com
Mon May 10 16:20:03 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: Erwan David <erwan at rail.eu.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/142035: editors/emacs compulsory dependencies too wide
Date: Mon, 10 May 2010 20:19:26 +0400
Erwan David <erwan at rail.eu.org> writes:
> Anonymous wrote:
>> librsvg2 doesn't depend on ORBit, it's gconf2 as part of USE_GNOME
>> that's pulling it, see also ports/146385.
>>
>> gconf2_LIB_DEPENDS= gconf-2.4:${PORTSDIR}/devel/gconf2
>> gconf2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gconf-2.0.pc
>> gconf2_USE_GNOME_IMPL= orbit2 libxml2 gtk20
>>
>
> I do not have USE_GNOME. I only use WITHOUT_GTK=1
> Should I use some other flag ?
1. apply patch by b. f. in that PR against Mk/bsd.gnome.mk
2. install emacs using WITHOUT_GCONF= (should disable gconf2 in devel/libgsf)
librsvg2 would still require Gtk, though. Just not ORBit and gconf2.
> Pulling gconf seems to me same kind of bug as pulling Orbit for a pure
> X11 version of emacs.
Without introducing more OPTIONS smth like this should be committed.
--- 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 10 May 2010 16:13:54 -0000
@@ -18,11 +18,10 @@ 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
+USE_GNOME+= gtk20 librsvg2
.endif
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
--- a.diff ends here ---
More information about the freebsd-ports-bugs
mailing list