diff --git a/srcpkgs/mozjs52/patches/mozjs52.pc.patch b/srcpkgs/mozjs52/patches/mozjs52.pc.patch new file mode 100644 index 00000000000..6d85bb05f4e --- /dev/null +++ b/srcpkgs/mozjs52/patches/mozjs52.pc.patch @@ -0,0 +1,8 @@ +--- a/js/src/js.pc.in ++++ b/js/src/js.pc.in +@@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript + Version: @MOZILLA_VERSION@ + @PKGCONF_REQUIRES_PRIVATE@ + Libs: -L${libdir} -l@JS_LIBRARY_NAME@ +-Cflags: -include ${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -I${includedir}/@JS_LIBRARY_NAME@ ++Cflags: -include ${pc_sysrootdir}${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -I${includedir}/@JS_LIBRARY_NAME@ diff --git a/srcpkgs/mozjs52/template b/srcpkgs/mozjs52/template index f6f12366c0a..8a3609c8455 100644 --- a/srcpkgs/mozjs52/template +++ b/srcpkgs/mozjs52/template @@ -1,16 +1,17 @@ # Template file for 'mozjs52' pkgname=mozjs52 version=52.9.0 -revision=4 +revision=5 wrksrc="firefox-${version}esr" build_wrksrc="js/src" build_style=gnu-configure hostmakedepends="perl python pkg-config automake autoconf213 autoconf-archive which" makedepends="icu-devel libffi-devel nspr-devel zlib-devel readline-devel" +depends="nspr>=4.13.1" short_desc="Mozilla JavaScript interpreter and library (52.x series)" -homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey" -license="MPL-2.0" maintainer="Enno Boland " +license="MPL-2.0" +homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey" distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz" checksum=c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6 patch_args="-Np1"