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

(-)rsync.gentoo.org/eclass/vim.eclass (-2 / +4 lines)
Lines 115-121 if [[ $(get_major_version ) -ge 7 ]] ; t Link Here
115
		DEPEND="${DEPEND}   netbeans? ( dev-util/netbeans )"
115
		DEPEND="${DEPEND}   netbeans? ( dev-util/netbeans )"
116
		RDEPEND="${RDEPEND} netbeans? ( dev-util/netbeans )"
116
		RDEPEND="${RDEPEND} netbeans? ( dev-util/netbeans )"
117
	fi
117
	fi
118
	if [[ "${MY_PN}" == "vim" ]] ; then
118
	if [[ "${MY_PN}" != "vim-core" ]] ; then
119
		IUSE="${IUSE} vim-pager"
119
		IUSE="${IUSE} vim-pager"
120
	fi
120
	fi
121
121
Lines 307-313 vim_src_unpack() { Link Here
307
	find ${S} -name '*.c' | while read c ; do echo >> "$c" ; done
307
	find ${S} -name '*.c' | while read c ; do echo >> "$c" ; done
308
308
309
	# if we're vim-7 and USE vim-pager, make the manpager.sh script
309
	# if we're vim-7 and USE vim-pager, make the manpager.sh script
310
	if [[ "${MY_PN}" == "vim" ]] && [[ $(get_major_version ) -ge 7 ]] \
310
	if [[ "${MY_PN}" != "vim-core" ]] && [[ $(get_major_version ) -ge 7 ]] \
311
			&& use vim-pager ; then
311
			&& use vim-pager ; then
312
		cat <<END > ${S}/runtime/macros/manpager.sh
312
		cat <<END > ${S}/runtime/macros/manpager.sh
313
#!/bin/sh
313
#!/bin/sh
Lines 609-614 vim_src_install() { Link Here
609
		ln -s vim ${D}/usr/bin/view && \
609
		ln -s vim ${D}/usr/bin/view && \
610
		ln -s vim ${D}/usr/bin/rview \
610
		ln -s vim ${D}/usr/bin/rview \
611
			|| die "/usr/bin symlinks failed"
611
			|| die "/usr/bin symlinks failed"
612
	fi
613
	if [[ "${MY_PN}" != "vim-core" ]]; then
612
		if [[ $(get_major_version ) -ge 7 ]] && use vim-pager ; then
614
		if [[ $(get_major_version ) -ge 7 ]] && use vim-pager ; then
613
			ln -s /usr/share/vim/vim${VIM_VERSION//./}/macros/less.sh \
615
			ln -s /usr/share/vim/vim${VIM_VERSION//./}/macros/less.sh \
614
					${D}/usr/bin/vimpager
616
					${D}/usr/bin/vimpager

Return to bug 112901