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 30875 by niro, Fri May 11 08:15:33 2018 UTC revision 30876 by niro, Fri May 11 08:33:53 2018 UTC
# Line 19  SDEPEND=">= dev-lang/python-2.7 Line 19  SDEPEND=">= dev-lang/python-2.7
19  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2"  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2"
20  SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"  SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"
21    
 #EMUL_LINUX_32=true  
 #sminclude multilib python  
22  sminclude python  sminclude python
23  msetfeature "!check"  msetfeature "!check"
24    
# Line 38  UP2DATE="updatecmd https://hg.mozilla.or Line 36  UP2DATE="updatecmd https://hg.mozilla.or
36  src_prepare()  src_prepare()
37  {  {
38   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
39     cd ${SRCDIR}
40    
41   mpatch ${PNAME}-${PVER}-fix-soname.patch || die   mpatch ${PNAME}-${PVER}-fix-soname.patch || die
42   mpatch ${PNAME}-${PVER}-copy-headers.patch || die   mpatch ${PNAME}-${PVER}-copy-headers.patch || die
43   mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die   mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die
44   mpatch ${PNAME}-${PVER}-include-configure-script.patch || die   mpatch ${PNAME}-${PVER}-include-configure-script.patch || die
45    
46   # create missing python execs on multilib systems   sed -i '/^rm -rf _virtualenv/d' configure.in || die
47   if [[ ${ARCH} = x86_64 ]] && [[ $(mlibdir) != lib ]]   sed -i '/^mkdir -p _virtualenv/d' configure.in || die
48   then  
49   for abi in ${MULTILIB_ABIS}   install -d _virtualenv/bin || die
50   do   cp -a /usr/bin/python-m32 _virtualenv/bin || die
51   cd ${SRCDIR}-${abi}   cp -a /usr/bin/python-m64 _virtualenv/bin || die
52   sed -i '/^rm -rf _virtualenv/d' configure.in || die   cp -a /usr/bin/python$(mget-python-version)-m32 _virtualenv/bin || die
53   sed -i '/^mkdir -p _virtualenv/d' configure.in || die   cp -a /usr/bin/python$(mget-python-version)-m64 _virtualenv/bin || die
   
  install -d _virtualenv/bin || die  
  cp -a /usr/bin/python-m32 _virtualenv/bin || die  
  cp -a /usr/bin/python-m64 _virtualenv/bin || die  
  cp -a /usr/bin/python$(mget-python-version)-m32 _virtualenv/bin || die  
  cp -a /usr/bin/python$(mget-python-version)-m64 _virtualenv/bin || die  
  done  
  fi  
54    
55   export WANT_AUTOCONF=2.1   export WANT_AUTOCONF=2.1
56   autoconf || die   autoconf || die
# Line 73  src_compile() Line 65  src_compile()
65   export CXX=g++   export CXX=g++
66   export SHELL="${SHELL}"   export SHELL="${SHELL}"
67    
68   SRCSUBDIR="js/src" \   cd ${SRCDIR}/js/src
69    
70   mconfigure \   mconfigure \
71   --disable-debug \   --disable-debug \
72   --disable-debug-symbols \   --disable-debug-symbols \
# Line 93  src_compile() Line 86  src_compile()
86    
87   # shell export fixes some bugs in a chroot environment   # shell export fixes some bugs in a chroot environment
88   # see: http://comments.gmane.org/gmane.linux.lfs.beyond.support/47450   # see: http://comments.gmane.org/gmane.linux.lfs.beyond.support/47450
89   SRCSUBDIR="js/src" SHELL="${SHELL}" mmake || die   SHELL="${SHELL}" mmake || die
90  }  }
91    
92  src_install()  src_install()
93  {  {
94   SRCSUBDIR="js/src" SHELL="${SHELL}" mmake DESTDIR=${BINDIR} install || die   cd ${SRCDIR}/js/src
95     SHELL="${SHELL}" mmake DESTDIR=${BINDIR} install || die
96  }  }

Legend:
Removed from v.30875  
changed lines
  Added in v.30876