27 |
http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} |
http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} |
28 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
29 |
mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch |
mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch |
30 |
|
mirror://${PNAME}/${PNAME}-${PVER}-gcc6.patch |
31 |
) |
) |
32 |
|
|
33 |
src_prepare() |
src_prepare() |
34 |
{ |
{ |
35 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
36 |
mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die |
mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die |
37 |
|
mpatch ${PNAME}-${PVER}-gcc6.patch || die |
38 |
} |
} |
39 |
|
|
40 |
src_compile() |
src_compile() |
41 |
{ |
{ |
42 |
|
# fortify_source not supported |
43 |
|
export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/} |
44 |
|
|
45 |
mconfigure --with-system-nspr --enable-threadsafe || die |
mconfigure --with-system-nspr --enable-threadsafe || die |
46 |
mmake || die |
mmake || die |
47 |
} |
} |