[MacPorts] #18994: Port submission: ocamlsdl
#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 -------------------------------------+-------------------------------------- I made a Portfile for ocamlsdl, please consider to add it to the main ports repository. OCamlSDL is an OCaml interface to the SDL and might be used to write multimedia applications in Objective Caml. Portfile was successfully compiled and tested on OS X 10.5.6. This is one of my three first submissions I do today. I hope I did everything right. -- Ticket URL: <http://trac.macports.org/ticket/18994> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#18994: Port submission: ocamlsdl --------------------------------------+------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: devel, multimedia Port: ocamlsdl | --------------------------------------+------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Added in r48892, thanks. Used the 'configure.args --without-findlib' to avoid the destroot issues as discussed over email. -- Ticket URL: <http://trac.macports.org/ticket/18994#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts