Magellan Linux

Diff of /trunk/extras/spidermonkey/spidermonkey-52.7.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30867 by niro, Mon Apr 30 15:00:16 2018 UTC revision 30872 by niro, Wed May 2 11:42:43 2018 UTC
# Line 20  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE Line 20  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE
20  SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"  SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"
21    
22  EMUL_LINUX_32=true  EMUL_LINUX_32=true
23  sminclude multilib  sminclude multilib python
24  msetfeature "!check"  msetfeature "!check"
25    
26  SRC_URI=(  SRC_URI=(
# Line 58  src_prepare() Line 58  src_prepare()
58   cp -a /usr/bin/python$(mget-python-version)-m64 _virtualenv/bin || die   cp -a /usr/bin/python$(mget-python-version)-m64 _virtualenv/bin || die
59   done   done
60   fi   fi
61    
62     export WANT_AUTOCONF=2.1
63     autoconf || die
64  }  }
65    
66  src_compile()  src_compile()
# Line 66  src_compile() Line 69  src_compile()
69   export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'   export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'
70   export CC=gcc   export CC=gcc
71   export CXX=g++   export CXX=g++
72   export PYTHON=/usr/bin/python2   export SHELL="${SHELL}"
73    
74   SRCSUBDIR="js/src" \   SRCSUBDIR="js/src" \
75   mconfigure \   mconfigure \
# Line 86  src_compile() Line 89  src_compile()
89   --without-system-icu \   --without-system-icu \
90   || die   || die
91    
92   SRCSUBDIR="js/src" mmake || die   # shell export fixes some bugs in a chroot environment
93     # see: http://comments.gmane.org/gmane.linux.lfs.beyond.support/47450
94     SRCSUBDIR="js/src" SHELL="${SHELL}" mmake || die
95  }  }
96    
97  src_install()  src_install()
98  {  {
99   SRCSUBDIR="js/src" mmake DESTDIR=${BINDIR} install || die   SRCSUBDIR="js/src" SHELL="${SHELL}" mmake DESTDIR=${BINDIR} install || die
100  }  }

Legend:
Removed from v.30867  
changed lines
  Added in v.30872