Fix mozilla nss build issue oi-extras
authorAndrzej Szeszo <aszeszo@gmail.com>
Thu, 28 Apr 2011 14:32:16 +0100
branchoi-extras
changeset 195 f6b7d5a2199e
parent 194 9b866524adff
child 196 903f42832e3e
Fix mozilla nss build issue
sic_team/mozilla-nss/patches/coreconf.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sic_team/mozilla-nss/patches/coreconf.patch	Thu Apr 28 14:32:16 2011 +0100
@@ -0,0 +1,12 @@
+diff -ruN nss-3.12.6.orig/mozilla/security/coreconf/rules.mk nss-3.12.6/mozilla/security/coreconf/rules.mk
+--- nss-3.12.6.orig/mozilla/security/coreconf/rules.mk	2009-12-08 01:33:36.000000000 +0000
++++ nss-3.12.6/mozilla/security/coreconf/rules.mk	2011-04-28 13:59:24.449070011 +0100
+@@ -411,7 +411,7 @@
+ endif
+ 
+ # The quotes allow absolute paths to contain spaces.
+-core_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(PWD)/$(1)))"
++core_abspath = "$(shell if [ -d $(1) ]; then cd $(1); pwd; else cd `dirname $(1)`; echo `pwd`/`basename $(1)`; fi )"
+ 
+ $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX): %.c
+ 	@$(MAKE_OBJDIR)