summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-06-11 09:23:26 +0000
committerAchim Gottinger <achim@gentoo.org>2001-06-11 09:23:26 +0000
commit17d800a5f3bddf6ed72aa8f6e199c7e8115ae97e (patch)
tree9a0bea080d057f71773fd67e50d0216eb3313b23 /gnome-extra/gnome-media
parent*** empty log message *** (diff)
downloadhistorical-17d800a5f3bddf6ed72aa8f6e199c7e8115ae97e.tar.gz
historical-17d800a5f3bddf6ed72aa8f6e199c7e8115ae97e.tar.bz2
historical-17d800a5f3bddf6ed72aa8f6e199c7e8115ae97e.zip
Added a fix if alsa is not in USE
Diffstat (limited to 'gnome-extra/gnome-media')
-rw-r--r--gnome-extra/gnome-media/gnome-media-1.2.2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnome-extra/gnome-media/gnome-media-1.2.2.ebuild b/gnome-extra/gnome-media/gnome-media-1.2.2.ebuild
index f25ad91c89a5..ee9bce031fc2 100644
--- a/gnome-extra/gnome-media/gnome-media-1.2.2.ebuild
+++ b/gnome-extra/gnome-media/gnome-media-1.2.2.ebuild
@@ -22,6 +22,11 @@ src_compile() {
fi
try ./configure --host=${CHOST} --prefix=/opt/gnome \
--with-ncurses $myconf
+
+ if [ -z "`use alsa`" ] ; then
+ cp config.h config.h.orig
+ sed -e "s:#define ALSA 1:/* #define ALSA 0*/:" config.h.orig > config.h
+ fi
try pmake
}