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
commitcc2c2c65c89cb6e8434d374471fb077d71672351 (patch)
treed5e9eb71e9e8d4c691c076021ba7f190433600e0 /media-libs/smjpeg
parentFix for nas (diff)
downloadhistorical-cc2c2c65c89cb6e8434d374471fb077d71672351.tar.gz
historical-cc2c2c65c89cb6e8434d374471fb077d71672351.tar.bz2
historical-cc2c2c65c89cb6e8434d374471fb077d71672351.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
}