Page 1 of 1

[Linux] mach install -> destdir

Posted: 2022-07-08, 10:05
by biopsin
Heya,
With all previous versions of Pale Moon the DESTDIR was prefixed to /usr ,while on Pale Moon version 30.x the DESTDIR is prefixed to /usr/local.
My question is whats the right way to override DESTDIR as its hellbent on installing under local dir?

Re: [Linux] mach install -> destdir

Posted: 2022-07-09, 17:16
by bSun0000
.mozconfig

ac_add_options --x-libraries=/usr/lib
ac_add_options --prefix=/usr

Or it does not work and /usr/local is hardcoded in PM 30+?

You can always run ./mach package and unpack the resulting archive manually, anywhere you want.

Re: [Linux] mach install -> destdir

Posted: 2022-07-10, 09:49
by biopsin
Its not hardcoded or I would have spotted it searching the repo, but its set to default somewhere,
however I see I dont have set a

Code: Select all

ac_add_options --prefix=/usr
,so maybe this is all it takes today.
I used to just set

Code: Select all

DESTDIR=$DESTDIR ./mach_install
inside my buildtemplate, fingers crossed..