summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-07-10 15:15:26 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-07-10 15:15:26 +0000
commit0404b8e082fd5c2ecabe2baac0da969c34b62359 (patch)
tree2e2ab90d44674dd9b05c6eb45145e031c9c6afdf /x11-libs/motif-config
parentcleanup (diff)
downloadgentoo-2-0404b8e082fd5c2ecabe2baac0da969c34b62359.tar.gz
gentoo-2-0404b8e082fd5c2ecabe2baac0da969c34b62359.tar.bz2
gentoo-2-0404b8e082fd5c2ecabe2baac0da969c34b62359.zip
bug #94804
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'x11-libs/motif-config')
-rw-r--r--x11-libs/motif-config/ChangeLog5
-rw-r--r--x11-libs/motif-config/motif-config-0.9.ebuild21
2 files changed, 20 insertions, 6 deletions
diff --git a/x11-libs/motif-config/ChangeLog b/x11-libs/motif-config/ChangeLog
index 8ff51723a8e2..2cfa0eb8182d 100644
--- a/x11-libs/motif-config/ChangeLog
+++ b/x11-libs/motif-config/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/motif-config
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.13 2005/04/26 13:56:50 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.14 2005/07/10 15:15:26 lanius Exp $
+
+ 10 Jul 2005; Heinrich Wendel <lanius@gentoo.org> motif-config-0.9.ebuild:
+ bug #94804
*motif-config-0.9 (26 Apr 2005)
diff --git a/x11-libs/motif-config/motif-config-0.9.ebuild b/x11-libs/motif-config/motif-config-0.9.ebuild
index b9b7a6a4a487..18fc4c9a0965 100644
--- a/x11-libs/motif-config/motif-config-0.9.ebuild
+++ b/x11-libs/motif-config/motif-config-0.9.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/x11-libs/motif-config/motif-config-0.9.ebuild,v 1.1 2005/04/26 13:56:50 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.9.ebuild,v 1.2 2005/07/10 15:15:26 lanius Exp $
inherit multilib
@@ -67,20 +67,31 @@ src_install () {
pkg_setup() {
# clean up cruft left over by old versions
+ removed=no
has_version =x11-libs/openmotif-2.1.30* \
|| ( rm -f /usr/$(get_libdir)/motif/openmotif-2.1; \
rm -fR /usr/include/openmotif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1 )
+ rm -fR /usr/$(get_libdir)/openmotif-2.1;
+ removed=yes )
has_version =x11-libs/openmotif-2.2.3* \
|| ( rm -f /usr/$(get_libdir)/motif/openmotif-2.2; \
rm -fR /usr/include/openmotif-2.2; \
- rm -fR /usr/$(get_libdir)/openmotif-2.2 )
+ rm -fR /usr/$(get_libdir)/openmotif-2.2;
+ removed=yes )
has_version =x11-libs/lesstif-0.93.94* \
|| ( rm -f /usr/$(get_libdir)/motif/lesstif-1.2; \
rm -fR /usr/include/lesstif-1.2; \
- rm -fR /usr/$(get_libdir)/lesstif-1.2 )
+ rm -fR /usr/$(get_libdir)/lesstif-1.2;
+ removed=yes )
has_version =x11-libs/lesstif-0.94* \
|| ( rm -f /usr/$(get_libdir)/motif/lesstif-2.1; \
rm -fR /usr/include/lesstif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1 )
+ rm -fR /usr/$(get_libdir)/openmotif-2.1;
+ removed=yes )
+
+ if [ "$removed" = "yes" ]; then
+ rm -fR /usr/include/Xm;
+ rm -fR /usr/include/uil;
+ rm -fR /usr/include/Mrm;
+ fi
}