Closed hishamhm closed 4 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
Checked-in under commit c298cfe0cec0836b5b033a0a51632d557493c51d.
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.