[MacPorts] #28854: lua: destroot phase asks for admin password as it uses sudo

MacPorts noreply at macports.org
Mon Mar 21 09:38:49 PDT 2011


#28854: lua: destroot phase asks for admin password as it uses sudo
----------------------------------+-----------------------------------------
 Reporter:  raphael@…             |       Owner:  pmq@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:                  
 Keywords:                        |        Port:  lua             
----------------------------------+-----------------------------------------
 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
 [source:trunk/dports/lang/lua/files/patch-dlopen.diff 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28854>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list