svn path=/nixpkgs/trunk/; revision=9277

This commit is contained in:
Wouter den Breejen 2007-09-07 11:05:02 +00:00
parent 366743f163
commit 37baf87b57
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,11 @@
source $stdenv/setup source $stdenv/setup
configureFlags="--with-tcl=$tcl/lib --with-tk=$tk/lib" echo $libstdcpp
echo "-L$libstdcpp/lib"
LDFLAGS="-L$libstdcpp/lib"
CPPFLAGS="-L$libstdcpp/include"
CFLAGS="-lm"
configureFlags="--with-tcl=$tcl/lib --with-tk=$tk/lib --enable-static"
genericBuild genericBuild

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, which, tcl, tk, x11}: {stdenv, fetchurl, which, tcl, tk, x11, libstdcpp }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "amsn-0.96"; name = "amsn-0.96";
@ -8,6 +8,6 @@ stdenv.mkDerivation {
md5 = "3df6b0d34ef1997a47c0b8af29b2547a"; md5 = "3df6b0d34ef1997a47c0b8af29b2547a";
}; };
inherit tcl tk; inherit tcl tk libstdcpp;
buildInputs = [which tcl tk x11 ]; buildInputs = [which tcl tk x11 ];
} }