From 37baf87b57bf55711f967073df3311360aa376cf Mon Sep 17 00:00:00 2001 From: Wouter den Breejen Date: Fri, 7 Sep 2007 11:05:02 +0000 Subject: [PATCH] svn path=/nixpkgs/trunk/; revision=9277 --- .../networking/instant-messengers/amsn/builder.sh | 8 +++++++- .../networking/instant-messengers/amsn/default.nix | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/amsn/builder.sh b/pkgs/applications/networking/instant-messengers/amsn/builder.sh index 8116c95e2a35..4f7680b29d92 100644 --- a/pkgs/applications/networking/instant-messengers/amsn/builder.sh +++ b/pkgs/applications/networking/instant-messengers/amsn/builder.sh @@ -1,5 +1,11 @@ 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 diff --git a/pkgs/applications/networking/instant-messengers/amsn/default.nix b/pkgs/applications/networking/instant-messengers/amsn/default.nix index 729474b06083..0f357c16514e 100644 --- a/pkgs/applications/networking/instant-messengers/amsn/default.nix +++ b/pkgs/applications/networking/instant-messengers/amsn/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, which, tcl, tk, x11}: +{stdenv, fetchurl, which, tcl, tk, x11, libstdcpp }: stdenv.mkDerivation { name = "amsn-0.96"; @@ -8,6 +8,6 @@ stdenv.mkDerivation { md5 = "3df6b0d34ef1997a47c0b8af29b2547a"; }; - inherit tcl tk; - buildInputs = [which tcl tk x11]; + inherit tcl tk libstdcpp; + buildInputs = [which tcl tk x11 ]; }