Ticket #28854 (closed defect: fixed)
lua: destroot phase asks for admin password as it uses sudo
| Reported by: | raphael@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | lua |
Description
The destroot phase of the lua port calls sudo. This is bad for non-root MacPorts installations.
I suggest to remove the call to sudo in the following two lines of patch-dlopen.diff:
+ cd $(INSTALL_LIB) && sudo ln -s liblua.%VERSION%.dylib liblua.dylib + cd $(INSTALL_LIB) && sudo ln -s liblua.%VERSION%.dylib liblua.%COMPAT_VERSION%.dylib
Change History
Note: See
TracTickets for help on using
tickets.


Good idea.