Mercurial > oi > oi-build
changeset 481:f6b7d5a2199e oi-extras
Fix mozilla nss build issue
author | Andrzej Szeszo <aszeszo@gmail.com> |
---|---|
date | Thu, 28 Apr 2011 14:32:16 +0100 |
parents | 9b866524adff |
children | 903f42832e3e |
files | sic_team/mozilla-nss/patches/coreconf.patch |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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)