[Linux] mach install -> destdir Topic is solved

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

[Linux] mach install -> destdir

Unread post by biopsin » 2022-07-08, 10:05

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?
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
bSun0000
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2022-03-22, 23:32

Re: [Linux] mach install -> destdir

Unread post by bSun0000 » 2022-07-09, 17:16

.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.

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: [Linux] mach install -> destdir

Unread post by biopsin » 2022-07-10, 09:49

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..
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

Locked