From 33672b319e6bc9fc186a2c26e2ae1fc9caa89897 Mon Sep 17 00:00:00 2001
From: Stefan Fiedler <stefan.fiedler@students.jku.at>
Date: Fri, 17 Nov 2006 09:56:24 +0000
Subject: [PATCH] Stefan Fiedler: 	evolution: point to nss and nspr
 headers, fixing build

[2006102420113328508] (https://www.rocklinux.net/submaster)



git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8048 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
---
 package/gnome2/evolution/evolution.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/gnome2/evolution/evolution.conf b/package/gnome2/evolution/evolution.conf
index 223d80c57..e077fa15b 100644
--- a/package/gnome2/evolution/evolution.conf
+++ b/package/gnome2/evolution/evolution.conf
@@ -25,3 +25,7 @@
 pkginstalled openldap && \
 	var_append confopt ' ' "--with-openldap=$root/${pkg_openldap_prefix}"
 
+pkginstalled nspr && var_append extraconfopt ' ' \
+        "--with-nspr-includes=$root/usr/include/nspr --with-nspr-libs=$root/usr/lib --with-nss-includes=$root/usr/include/nss --with-nss-libs=$root/usr/lib"
+
+var_append makeopt " " "LDAP_CFLAGS+=-I$root/${pkg_openldap_prefix}/include"