Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 153765
Collapse All | Expand All

(-)vim.eclass (-4 / +4 lines)
Lines 76-87 Link Here
76
	fi
76
	fi
77
77
78
	if [[ "${MY_PN}" == "vim" ]] ; then
78
	if [[ "${MY_PN}" == "vim" ]] ; then
79
		IUSE="${IUSE} vim-with-x minimal"
79
		IUSE="${IUSE} X minimal"
80
		# see bug #111979 for modular X deps
80
		# see bug #111979 for modular X deps
81
		DEPEND="${DEPEND} vim-with-x? ( || (
81
		DEPEND="${DEPEND} X? ( || (
82
			( x11-libs/libXt x11-libs/libX11 x11-libs/libSM x11-proto/xproto )
82
			( x11-libs/libXt x11-libs/libX11 x11-libs/libSM x11-proto/xproto )
83
			virtual/x11 ) )"
83
			virtual/x11 ) )"
84
		RDEPEND="${RDEPEND} vim-with-x? ( || ( x11-libs/libXt virtual/x11 ) )"
84
		RDEPEND="${RDEPEND} X? ( || ( x11-libs/libXt virtual/x11 ) )"
85
	elif [[ "${MY_PN}" == "gvim" ]] ; then
85
	elif [[ "${MY_PN}" == "gvim" ]] ; then
86
		if version_is_at_least "6.3.086" ; then
86
		if version_is_at_least "6.3.086" ; then
87
			IUSE="${IUSE} gnome gtk motif"
87
			IUSE="${IUSE} gnome gtk motif"
Lines 388-394 Link Here
388
		if [[ "${MY_PN}" == "vim" ]] ; then
388
		if [[ "${MY_PN}" == "vim" ]] ; then
389
			# don't test USE=X here ... see bug #19115
389
			# don't test USE=X here ... see bug #19115
390
			# but need to provide a way to link against X ... see bug #20093
390
			# but need to provide a way to link against X ... see bug #20093
391
			myconf="${myconf} --enable-gui=no `use_with vim-with-x x`"
391
			myconf="${myconf} --enable-gui=no `use_with X x`"
392
392
393
		elif [[ "${MY_PN}" == "gvim" ]] ; then
393
		elif [[ "${MY_PN}" == "gvim" ]] ; then
394
			myconf="${myconf} --with-vim-name=gvim --with-x"
394
			myconf="${myconf} --with-vim-name=gvim --with-x"

Return to bug 153765