--- PKGBUILD.old 2017-10-27 05:49:08.000000000 -0500 +++ PKGBUILD 2017-11-07 10:34:24.492728665 -0500 @@ -49,9 +49,6 @@ _mozilla_api_key=16674381-f021-49de-8622-3021c5942aff prepare() { - mkdir path - ln -s /usr/bin/python2 path/python - cd mozilla-unified patch -Np1 -i ../firefox-install-dir.patch @@ -84,6 +81,12 @@ ac_add_options --enable-pie ac_add_options --enable-optimize="-O2" +# python2 interpreter +# +# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Linux_Prerequisites#Python +# +mk_add_options PYTHON=/usr/bin/python2 + # Branding ac_add_options --enable-official-branding ac_add_options --enable-update-channel=release @@ -120,7 +123,6 @@ # _FORTIFY_SOURCE causes configure failures CPPFLAGS+=" -O2" - export PATH="$srcdir/path:$PATH" export MOZ_SOURCE_REPO="$_repo" # Do PGO