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 30863 by niro, Mon Apr 30 11:51:45 2018 UTC revision 30864 by niro, Mon Apr 30 12:01:20 2018 UTC
# Line 17  SDEPEND=">= dev-lang/python-2.7 Line 17  SDEPEND=">= dev-lang/python-2.7
17    
18  # direct mecurial export  # direct mecurial export
19  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2"  SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2"
20  PATCHDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"  SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE"
 SRCDIR="${PATCHDIR}/js/src"  
21    
22  EMUL_LINUX_32=true  EMUL_LINUX_32=true
23  sminclude multilib mbuild  sminclude multilib
24  msetfeature "!check"  msetfeature "!check"
25    
26  SRC_URI=(  SRC_URI=(
# Line 38  UP2DATE="updatecmd https://hg.mozilla.or Line 37  UP2DATE="updatecmd https://hg.mozilla.or
37  src_prepare()  src_prepare()
38  {  {
39   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
40   SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-fix-soname.patch || die   mpatch ${PNAME}-${PVER}-fix-soname.patch || die
41   SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-copy-headers.patch || die   mpatch ${PNAME}-${PVER}-copy-headers.patch || die
42   SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die   mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die
43   SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-include-configure-script.patch || die   mpatch ${PNAME}-${PVER}-include-configure-script.patch || die
44  }  }
45    
46  src_compile()  src_compile()
# Line 52  src_compile() Line 51  src_compile()
51   export CXX=g++   export CXX=g++
52   export PYTHON=/usr/bin/python2   export PYTHON=/usr/bin/python2
53    
54     SRCDIR="${SRCDIR}/js/src" \
55   mconfigure \   mconfigure \
56   --disable-debug \   --disable-debug \
57   --disable-debug-symbols \   --disable-debug-symbols \
# Line 69  src_compile() Line 69  src_compile()
69   --without-system-icu \   --without-system-icu \
70   || die   || die
71    
72   mmake || die   SRCDIR="${SRCDIR}/js/src" mmake || die
73    }
74    
75    src_install()
76    {
77     SRCDIR="${SRCDIR}/js/src" mmake DESTDIR=${BINDIR} install || die
78  }  }

Legend:
Removed from v.30863  
changed lines
  Added in v.30864