gobolinux / Compile

The GoboLinux build tool
52 stars 15 forks source link

Adds build_in_programs=yes to Compile #32

Closed hishamhm closed 4 years ago

hishamhm commented 5 years ago

Adding this for consideration. Essentially it reverts to the old-school "build in /Programs then symlink" behavior instead of the current "build on /usr and store in /Programs". I used this for building OpenResty, which assumes an /opt-like prefix and is pretty annoying about where it builds and finds things. I'm not sure about the implications this may have for Runner (perhaps recipes using this may need Runner to be disabled?) so I'm opening it for discussion first. Still, it's an opt-in feature so having it around shouldn't hurt.

lucasvr commented 5 years ago

Can't we patch OpenResty instead of tweaking Compile? We already do something like that for PostgreSQL: https://github.com/gobolinux/Recipes/blob/master/trunk/PostgreSQL/10.1/01-system_index.patch

lucasvr commented 4 years ago

Checked-in under commit c298cfe0cec0836b5b033a0a51632d557493c51d.