[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Re: [38743] trunk/dports/devel/caml-ocamlnet/Portfile
From:       Ryan Schmidt <ryandesign () macports ! org>
Date:       2008-07-30 3:05:14
Message-ID: E4E82C78-509A-4FF7-A88E-58CA6ED4E040 () macports ! org
[Download RAW message or body]

On Jul 29, 2008, at 20:39, landonf@macports.org wrote:

> Revision: 38743
>           http://trac.macosforge.org/projects/macports/changeset/38743
> Author:   landonf@macports.org
> Date:     2008-07-29 18:39:48 -0700 (Tue, 29 Jul 2008)
> Log Message:
> -----------
> Fix breakage at index time. ocamlfind, you're killing me.
>
> Modified Paths:
> --------------
>     trunk/dports/devel/caml-ocamlnet/Portfile
>
> Modified: trunk/dports/devel/caml-ocamlnet/Portfile
> ===================================================================
> --- trunk/dports/devel/caml-ocamlnet/Portfile	2008-07-30 01:03:31  
> UTC (rev 38742)
> +++ trunk/dports/devel/caml-ocamlnet/Portfile	2008-07-30 01:39:48  
> UTC (rev 38743)
> @@ -44,7 +44,9 @@
>  pre-destroot {
>      set ocaml_site_path [exec ocamlfind printconf destdir]
>      file mkdir ${destroot}/${ocaml_site_path}/stublibs
> +
>  }
>
> -destroot.env        DESTDIR="${destroot}" \
> -                    OCAMLFIND_DESTDIR="${destroot}/[exec ${prefix}/ 
> bin/ocamlfind printconf destdir]"
> +pre-destroot {
> +    destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="$ 
> {destroot}/[exec ${prefix}/bin/ocamlfind printconf destdir]"
> +}

How about the attached diff? Should be ok?



["caml-ocamlnet.diff" (caml-ocamlnet.diff)]

Index: Portfile
===================================================================
--- Portfile	(revision 38747)
+++ Portfile	(working copy)
@@ -44,9 +44,5 @@
 pre-destroot {
     set ocaml_site_path [exec ocamlfind printconf destdir]
     file mkdir ${destroot}/${ocaml_site_path}/stublibs
-
-}
-
-pre-destroot {
-    destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}/[exec \
${prefix}/bin/ocamlfind printconf destdir]" +    destroot.args DESTDIR="${destroot}" \
OCAMLFIND_DESTDIR="${destroot}${ocaml_site_path}"  }



_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic