commit:     aae7da0d24adf19d9685017360fb97922217fbe0
Author:     Ben de Groot <yngwin <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 16 01:12:29 2014 +0000
Commit:     Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Sun Nov 16 01:12:29 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=aae7da0d

[app-editors/vim-qt] drop gpm, add system vimrc

---
 app-editors/vim-qt/vim-qt-99999999.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-editors/vim-qt/vim-qt-99999999.ebuild 
b/app-editors/vim-qt/vim-qt-99999999.ebuild
index d2e5597..be64047 100644
--- a/app-editors/vim-qt/vim-qt-99999999.ebuild
+++ b/app-editors/vim-qt/vim-qt-99999999.ebuild
@@ -26,7 +26,7 @@ fi
 
 LICENSE="vim"
 SLOT="0"
-IUSE="acl cscope debug gpm lua luajit nls perl python racket ruby"
+IUSE="acl cscope debug lua luajit nls perl python racket ruby"
 
 REQUIRED_USE="luajit? ( lua )
        python? ( ${PYTHON_REQUIRED_USE} )"
@@ -38,7 +38,6 @@ RDEPEND="app-admin/eselect-vi
        >=dev-qt/qtgui-4.7.0:4
        acl? ( kernel_linux? ( sys-apps/acl ) )
        cscope? ( dev-util/cscope )
-       gpm? ( sys-libs/gpm )
        lua? ( luajit? ( dev-lang/luajit )
                !luajit? ( dev-lang/lua[deprecated] ) )
        nls? ( virtual/libintl )
@@ -53,10 +52,15 @@ DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )"
 
 pkg_setup() {
-       export LC_COLLATE="C" # prevent locale brokenness bug #82186
+       export LC_COLLATE="C" # prevent locale brokenness
        use python && python-single-r1_pkg_setup
 }
 
+src_prepare() {
+       # Read vimrc from /etc/vim/
+       echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> 
"${S}"/src/feature.h
+}
+
 src_configure() {
        use debug && append-flags "-DDEBUG"
 

Reply via email to