[38692] trunk/dports/devel/caml-pcre/Portfile

landonf at macports.org landonf at macports.org
Mon Jul 28 17:35:56 PDT 2008


Revision: 38692
          http://trac.macosforge.org/projects/macports/changeset/38692
Author:   landonf at macports.org
Date:     2008-07-28 17:35:56 -0700 (Mon, 28 Jul 2008)
Log Message:
-----------
Failure to use the stublibs directory results in ocamlfind modifing ${prefix}/lib/ocaml/ld.conf outside of the destroot, inserting an invalid destroot-path.

Modified Paths:
--------------
    trunk/dports/devel/caml-pcre/Portfile

Modified: trunk/dports/devel/caml-pcre/Portfile
===================================================================
--- trunk/dports/devel/caml-pcre/Portfile	2008-07-29 00:30:56 UTC (rev 38691)
+++ trunk/dports/devel/caml-pcre/Portfile	2008-07-29 00:35:56 UTC (rev 38692)
@@ -4,6 +4,7 @@
 
 name                caml-pcre
 version             5.15.0
+revision            1
 categories          devel ml
 maintainers         eridius at macports.org
 description         Perl compatibility regular expressions for OCaml
@@ -45,8 +46,8 @@
 }
 
 pre-build {
-        file mkdir [ocamlfind_destdir]
-        reinplace "s|##OCAMLFIND_INSTFLAGS##|-destdir '[ocamlfind_destdir]' -metadir ''|" ${worksrcpath}/OCamlMakefile
+        file mkdir [ocamlfind_destdir]/site-lib/stublibs
+        reinplace "s|##OCAMLFIND_INSTFLAGS##|-ldconf ignore -destdir '[ocamlfind_destdir]' -metadir ''|" ${worksrcpath}/OCamlMakefile
         reinplace "s|##PREFIX##|${prefix}|g" ${worksrcpath}/Makefile.conf
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080728/fadd8959/attachment.html 


More information about the macports-changes mailing list