3 # Build autoconf 2.13 for browser's sole use.
8 --prefix="$PWD/../junk" \
22 make DESTDIR
="$PWD/../junk" install
25 for f
in zip unzip; do (
29 CC
="$CC $CFLAGS $CXXFLAGS" \
30 -f unix
/Makefile generic
33 prefix
="$PWD/../junk" \
34 -f unix
/Makefile
install
37 export PATH
="$PWD/junk/bin:$PATH"
39 sed -e 's#%SRCDIR%#'"$(realpath .)"'#g' -e "s#%CFLAGS%#$CFLAGS#g" mozconfig.
in > .mozconfig
41 patch -p1 < gcc11-fix.
patch
42 patch -p1 < null-fix.
patch
43 patch -p1 < parenth.
patch
45 export LDFLAGS
="$LDFLAGS -Wl,-rpath=/usr/lib/browser"
53 cp -r objdir
/dist
/palemoon
"$1/usr/lib/browser"
54 ln -s ..
/lib
/browser
/palemoon
"$1/usr/bin/browser"
56 sed -i '/palemoon/d' "$1/var/db/kiss/installed/palemoon/depends"