Opened 13 years ago

Closed 13 years ago

#28854 closed defect (fixed)

lua: destroot phase asks for admin password as it uses sudo

Reported by: raphael-st (Raphael Straub) Owned by: ryandesign (Ryan Carsten Schmidt)
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 (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from pmq@… to ryandesign@…
Status: newassigned

Good idea.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.