summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-01-19 19:49:19 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-01-19 19:49:19 +0000
commit7d06ed9acd345452dc91d93cfbf05489ffc9f5fa (patch)
tree9b50518114042b41ae83d43fac799d4580221461 /eclass
parentadded source and examples useflag to dev-java/jdictrayapi (diff)
downloadgentoo-2-7d06ed9acd345452dc91d93cfbf05489ffc9f5fa.tar.gz
gentoo-2-7d06ed9acd345452dc91d93cfbf05489ffc9f5fa.tar.bz2
gentoo-2-7d06ed9acd345452dc91d93cfbf05489ffc9f5fa.zip
add in fdo mime things, bug 78394. fix tcltk flag for vim7.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vim.eclass16
1 files changed, 13 insertions, 3 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index e1550b1bb052..ea26a79593a2 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.90 2005/01/15 11:57:57 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.91 2005/01/19 19:49:19 ciaranm Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -23,7 +23,7 @@
# -aqua -gtk -motif nextaw NEXTAW (7+)
# -aqua -gtk -motif -nextaw ATHENA
-inherit eutils vim-doc flag-o-matic versionator
+inherit eutils vim-doc flag-o-matic versionator fdo-mime
# Support -cvs ebuilds, even though they're not in the official tree.
MY_PN="${PN%-cvs}"
@@ -328,7 +328,7 @@ src_compile() {
# VIMINIT='let OS=system("uname -s")' vim
# vim7 seems to be ok though. (24 Sep 2004 ciaranm)
if [[ $(get_major_version ) -ge 7 ]] ; then
- myconf="${myconf} `use_enable tcl tclinterp`"
+ myconf="${myconf} `use_enable tcltk tclinterp`"
myconf="${myconf} `use_enable mzscheme mzschemeinterp`"
if [[ "${MY_PN}" == "gvim" ]] ; then
myconf="${myconf} `use_enable netbeans`"
@@ -574,6 +574,11 @@ pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
+ # Update fdo mime stuff, bug #78394
+ if [[ "${MY_PN}" == "gvim" ]] ; then
+ fdo-mime_mime_database_update
+ fi
+
einfo
if [[ $(get_major_version ) -lt 7 ]] ; then
if [[ "${MY_PN}" == "gvim" ]] ; then
@@ -635,6 +640,11 @@ pkg_postrm() {
# Make convenience symlinks
update_vim_symlinks
+
+ # Update fdo mime stuff, bug #78394
+ if [[ "${MY_PN}" == "gvim" ]] ; then
+ fdo-mime_mime_database_update
+ fi
}
src_test() {