Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date: 2006-02-25
Initial Package Version: 2.12.7
Upstream Status: Not submitted (LFS specific) This patch cannot really
be sent upstream yet (well, I suppose it could, but it
would probably be rejected) because Firefox/Mozilla
does not yet officiall support building with system
installed NSPR libraries
Origin: Randy McMurchy
Description: Fixes breakage if using system-installed NSPR libraries
diff -Naur librsvg-2.12.7-orig/configure librsvg-2.12.7/configure
old
|
new
|
|
23729 | 23729 | |
23730 | 23730 | if test "x$MOZILLA_CONFIG" != "xno"; then |
23731 | 23731 | _mozilla_include_dir=`$MOZILLA_CONFIG --cflags|sed 's/-I\(.*\) .*/\1/'` |
23732 | | MOZILLA_CFLAGS="-I$_mozilla_include_dir/plugin -I$_mozilla_include_dir/java -I$_mozilla_include_dir/nspr" |
| 23732 | _nspr_include_dir=`for cflaglist in $($MOZILLA_CONFIG --cflags); \ |
| 23733 | do echo $cflaglist | grep nspr >/dev/null; \ |
| 23734 | if [ $? -eq 0 ]; then echo $cflaglist; fi; done` |
| 23735 | MOZILLA_CFLAGS="-I$_mozilla_include_dir/plugin -I$_mozilla_include_dir/java $_nspr_include_dir" |
23733 | 23736 | else |
23734 | 23737 | |
23735 | 23738 | succeeded=no |