From 6de4e9c39a24536fdc763b18032256c43d7b8431 Mon Sep 17 00:00:00 2001
From: Michael Raskin <7c6f434c@mail.ru>
Date: Wed, 30 Jun 2010 05:44:33 +0000
Subject: [PATCH] Fixing rasqal linking problem (the same as with redland)

svn path=/nixpkgs/trunk/; revision=22430
---
 pkgs/development/libraries/librdf/rasqal.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pkgs/development/libraries/librdf/rasqal.nix b/pkgs/development/libraries/librdf/rasqal.nix
index ff3bcbfbd161..6b7e2fcd89da 100644
--- a/pkgs/development/libraries/librdf/rasqal.nix
+++ b/pkgs/development/libraries/librdf/rasqal.nix
@@ -14,6 +14,10 @@ stdenv.mkDerivation {
     pcre libxml2 
     ];
 
+  preConfigure = ''
+    export NIX_LDFLAGS="$NIX_LDFLAGS -lraptor"
+  '';
+
   meta = { 
     description = "library that handles Resource Description Framework (RDF)";
     homepage = "http://librdf.org/rasqal";