summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-27 09:03:09 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-27 09:03:09 +0000
commit909337556b1ba9299838d32a7e9f3dcb06fd65d9 (patch)
tree647c77d30efe115f6aa49471fc837d69bb763627 /media-libs/libsdl/libsdl-1.2.6-r3.ebuild
parentbump stables and remove old cruft -- we really need to catch up to upstream o... (diff)
downloadgentoo-2-909337556b1ba9299838d32a7e9f3dcb06fd65d9.tar.gz
gentoo-2-909337556b1ba9299838d32a7e9f3dcb06fd65d9.tar.bz2
gentoo-2-909337556b1ba9299838d32a7e9f3dcb06fd65d9.zip
fix X requirement by nas #32447
Diffstat (limited to 'media-libs/libsdl/libsdl-1.2.6-r3.ebuild')
-rw-r--r--media-libs/libsdl/libsdl-1.2.6-r3.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/media-libs/libsdl/libsdl-1.2.6-r3.ebuild b/media-libs/libsdl/libsdl-1.2.6-r3.ebuild
index 133e5df69abd..36f0838995df 100644
--- a/media-libs/libsdl/libsdl-1.2.6-r3.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.6-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6-r3.ebuild,v 1.1 2003/12/11 23:54:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6-r3.ebuild,v 1.2 2003/12/27 09:03:09 vapier Exp $
inherit eutils
@@ -39,8 +39,14 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-alsa-1.0.0.patch #35049
sed -i \
- -e 's:head -1:head -n 1:' configure || \
- die "sed configure failed"
+ -e 's:head -1:head -n 1:' configure \
+ || die "sed configure failed"
+ if [ `use nas` ] && [ ! `use X` ] ; then #32447
+ sed -i \
+ -e 's:-DNAS_SUPPORT:-DNAS_SUPPORT -I/usr/X11R6/include:' \
+ -e 's:-laudio:-laudio -L/usr/X11R6/lib:' \
+ configure || die "nas sed hack failed"
+ fi
}
src_compile() {