[MacPorts] #18994: Port submission: ocamlsdl

MacPorts noreply at macports.org
Thu Mar 26 20:50:00 PDT 2009


#18994: Port submission: ocamlsdl
-------------------------------------+--------------------------------------
 Reporter:  macports@…               |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Submissions                     
Component:  ports                    |     Version:  1.7.0                                
 Keywords:  devel, multimedia        |        Port:  ocamlsdl                             
-------------------------------------+--------------------------------------
Changes (by blb@…):

 * cc: blb@… (added)


Comment:

 The first issue I ran into with this is that `ocamlfind install` doesn't
 respect MacPorts' destroot, so it tries to install directly into ${prefix}
 instead of ${destroot}${prefix}.  This means those files won't be recorded
 as part of the port.

 I worked around some of this but there are still other issues (it needs to
 add to ${prefix}/lib/ocaml/ld.conf the new location for sdl); FYI, I added
 the following to Portfile
 {{{
 set ocamlfind_defaultdestdir [exec ocamlfind printconf destdir]
 destroot.env      OCAMLFIND_DESTDIR=${destroot}${ocamlfind_defaultdestdir}
 pre-destroot {
    xinstall -m 755 -d ${destroot}${ocamlfind_defaultdestdir}
 }
 }}}

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


More information about the macports-tickets mailing list