[MacPorts] #21315: Apache2 install location does not seem to conform as well as it could to MacPorts installation directory guideline

MacPorts noreply at macports.org
Tue Mar 2 02:36:32 PST 2010


#21315: Apache2 install location does not seem to conform as well as it could to
MacPorts installation directory guideline
------------------------------+---------------------------------------------
 Reporter:  scott@…           |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.0                                
 Keywords:                    |        Port:  apache2                              
------------------------------+---------------------------------------------

Comment(by scott@…):

 Replying to [comment:10 sebastien.elet@…]:
 > I just tried to use amp via macport and the /opt/local is a mess...
 > Personally use this layout to compile apache
 (/Users/Nasga/Documents/Damp/release-1.0 is my root for amp) :
 >
 >
 > {{{
 > <Layout SnowLeopard>
 >   prefix: /Users/Nasga/Documents/Damp/release-1.0
 >   exec_prefix: ${prefix}
 >   bindir: ${exec_prefix}/bin
 >   sbindir: ${exec_prefix}/sbin
 >   libdir: ${exec_prefix}/lib
 >   libexecdir: ${exec_prefix}/libexec+
 >   mandir: ${prefix}/share/man
 >   sysconfdir: ${prefix}/etc+
 >   datadir: ${prefix}/data
 >   installbuilddir: ${prefix}/share/httpd/build
 >   errordir: ${prefix}/share/httpd/error
 >   iconsdir: ${prefix}/share/httpd/icons
 >   htdocsdir: ${datadir}/www
 >   manualdir: ${prefix}/share/httpd/manual
 >   cgidir: ${datadir}/CGI-Executables
 >   includedir: ${prefix}/include+
 >   localstatedir: ${prefix}/var
 >   runtimedir: ${localstatedir}/run
 >   logfiledir: ${localstatedir}/log+
 >   proxycachedir: ${runtimedir}/proxy
 > </Layout>
 > }}}
 >
 >
 > And for the .configure i add :
 > {{{
 > --enable-layout=SnowLeopard
 > }}}
 >
 >
 > I hope this could help :)

 This would break the layout conventions outlined in MacPorts here
 http://guide.macports.org/#internals.hierarchy
 MacPorts desires to have almost all files installed into ${prefix} which
 is usually /opt/local

 A location such as your user home would be off limits to MacPorts and it's
 installation of Apache2.

-- 
Ticket URL: <http://trac.macports.org/ticket/21315#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list