summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-15 15:41:32 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-15 15:41:32 +0000
commit03cd4226e4f0f2ac384a469afbafd3f8f3b900e4 (patch)
tree3e811f7f698cf6ba9106612d97ad90de3419caab /media-libs/smjpeg
parentFix for nas (diff)
downloadgentoo-2-03cd4226e4f0f2ac384a469afbafd3f8f3b900e4.tar.gz
gentoo-2-03cd4226e4f0f2ac384a469afbafd3f8f3b900e4.tar.bz2
gentoo-2-03cd4226e4f0f2ac384a469afbafd3f8f3b900e4.zip
*** empty log message ***
Diffstat (limited to 'media-libs/smjpeg')
-rw-r--r--media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild b/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild
index 212370b0cf9b..6d77a553ffd5 100644
--- a/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild
+++ b/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild,v 1.2 2001/04/29 18:42:54 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild,v 1.3 2001/05/15 15:41:32 achim Exp $
P=smjpeg-0.2.1
A=${P}.tar.gz
@@ -13,8 +13,10 @@ HOMEPAGE="http://www.lokigames.com/development/smjpeg.php3"
DEPEND=">=media-libs/libsdl-1.1.7"
src_compile() {
-
- try ./configure --prefix=/usr --host=${CHOST}
+ if [ "`use nas`" ] ; then
+ LDFLAGS="-L/usr/X11R6/lib -lXt"
+ fi
+ try LDFLAGS=\"$LDFLAGS\" ./configure --prefix=/usr --host=${CHOST}
try make
}