diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-01-03 18:58:25 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-01-03 18:58:25 +0000 |
commit | 366748d5b0d4152effa3da4171fcc9905cf08208 (patch) | |
tree | 7f0ec0f001346ccc3020fe80ec9fd9a2c133ca75 /app-i18n/uim | |
parent | adding ppc64 cascading profile, probably some tweaks yet to be done (diff) | |
download | gentoo-2-366748d5b0d4152effa3da4171fcc9905cf08208.tar.gz gentoo-2-366748d5b0d4152effa3da4171fcc9905cf08208.tar.bz2 gentoo-2-366748d5b0d4152effa3da4171fcc9905cf08208.zip |
Fixed config file path.
Diffstat (limited to 'app-i18n/uim')
-rw-r--r-- | app-i18n/uim/ChangeLog | 5 | ||||
-rw-r--r-- | app-i18n/uim/uim-0.4.5-r1.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app-i18n/uim/ChangeLog b/app-i18n/uim/ChangeLog index 7846d6a09704..352893f47eb4 100644 --- a/app-i18n/uim/ChangeLog +++ b/app-i18n/uim/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-i18n/uim # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.78 2005/01/03 02:38:02 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.79 2005/01/03 18:58:25 usata Exp $ + + 04 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> uim-0.4.5-r1.ebuild: + Fixed config file path. 03 Jan 2005; MATSUU Takuto <matsuu@gentoo.org> uim-0.4.5.ebuild: Marked as stable on amd64 and sparc. diff --git a/app-i18n/uim/uim-0.4.5-r1.ebuild b/app-i18n/uim/uim-0.4.5-r1.ebuild index 4c21fbc7a3bb..f8c2e6573940 100644 --- a/app-i18n/uim/uim-0.4.5-r1.ebuild +++ b/app-i18n/uim/uim-0.4.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.4.5-r1.ebuild,v 1.2 2005/01/01 14:42:20 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.4.5-r1.ebuild,v 1.3 2005/01/03 18:58:25 usata Exp $ inherit eutils flag-o-matic @@ -30,6 +30,14 @@ DEPEND="${RDEPEND} >=sys-apps/sed-4 nls? ( sys-devel/gettext )" +get_gtk_confdir() { + if useq amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && useq x86 ) ; then + echo "/etc/gtk-2.0/${CHOST}" + else + echo "/etc/gtk-2.0" + fi +} + src_unpack() { unpack ${A} cd ${S} @@ -77,9 +85,9 @@ pkg_postinst() { ewarn "Available input methods can be found by running uim-im-switcher." ewarn - use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules + use gtk && gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules } pkg_postrm() { - use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules + use gtk && gtk-query-immodules-2.0 > ${ROOT}$(get_gtk_confdir)/gtk.immodules } |