diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2005-08-12 22:36:17 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2005-08-12 22:36:17 +0000 |
commit | 96dc364765c892ac7a1e1ac9271d71725a89f590 (patch) | |
tree | b798a3717ef454d20401b0a3dbcc9573e8e0b09f /x11-base | |
parent | signing the Manifest (diff) | |
download | gentoo-2-96dc364765c892ac7a1e1ac9271d71725a89f590.tar.gz gentoo-2-96dc364765c892ac7a1e1ac9271d71725a89f590.tar.bz2 gentoo-2-96dc364765c892ac7a1e1ac9271d71725a89f590.zip |
Add pkg_postrm() to get rid of /usr/lib/xorg/modules. This should make things work better for people crazy enough to downgrade to monolithic.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/ChangeLog | 7 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-0.99.1-r3.ebuild | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-base/xorg-server/ChangeLog b/x11-base/xorg-server/ChangeLog index b205f65b46e9..6538ca55b6af 100644 --- a/x11-base/xorg-server/ChangeLog +++ b/x11-base/xorg-server/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-base/xorg-server # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.16 2005/08/12 21:31:10 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.17 2005/08/12 22:36:17 spyderous Exp $ + + 12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; + xorg-server-0.99.1-r3.ebuild: + Add pkg_postrm() to get rid of /usr/lib/xorg/modules. This should make + things work better for people crazy enough to downgrade to monolithic. *xorg-server-0.99.1-r3 (12 Aug 2005) diff --git a/x11-base/xorg-server/xorg-server-0.99.1-r3.ebuild b/x11-base/xorg-server/xorg-server-0.99.1-r3.ebuild index 986b36dea5cc..ba7af2dd941d 100644 --- a/x11-base/xorg-server/xorg-server-0.99.1-r3.ebuild +++ b/x11-base/xorg-server/xorg-server-0.99.1-r3.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-base/xorg-server/xorg-server-0.99.1-r3.ebuild,v 1.1 2005/08/12 21:31:10 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-0.99.1-r3.ebuild,v 1.2 2005/08/12 22:36:17 spyderous Exp $ # Must be before x-modular eclass is inherited # Hack to make sure autoreconf gets run @@ -105,6 +105,13 @@ pkg_postinst() { switch_opengl_implem } +pkg_postrm() { + # Get rid of module dir to ensure opengl-update works properly + if [ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]; then + rm -rf ${ROOT}/usr/$(get_libdir)/xorg/modules + fi +} + dynamic_libgl_install() { # next section is to setup the dynamic libGL stuff ebegin "Moving GL files for dynamic switching" |