[54683] trunk/dports/devel/caml-ocamlnet/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Jul 31 10:09:57 PDT 2009
Revision: 54683
http://trac.macports.org/changeset/54683
Author: ryandesign at macports.org
Date: 2009-07-31 10:09:57 -0700 (Fri, 31 Jul 2009)
Log Message:
-----------
caml-ocamlnet: combine the two pre-destroot phases, reusing ocaml_site_path, and remove unnecessary slash before that variable
Modified Paths:
--------------
trunk/dports/devel/caml-ocamlnet/Portfile
Modified: trunk/dports/devel/caml-ocamlnet/Portfile
===================================================================
--- trunk/dports/devel/caml-ocamlnet/Portfile 2009-07-31 17:06:36 UTC (rev 54682)
+++ trunk/dports/devel/caml-ocamlnet/Portfile 2009-07-31 17:09:57 UTC (rev 54683)
@@ -47,10 +47,6 @@
pre-destroot {
set ocaml_site_path [exec ocamlfind printconf destdir]
- file mkdir ${destroot}/${ocaml_site_path}/stublibs
-
+ file mkdir ${destroot}${ocaml_site_path}/stublibs
+ destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}${ocaml_site_path}"
}
-
-pre-destroot {
- destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}/[exec ${prefix}/bin/ocamlfind printconf destdir]"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090731/780039f3/attachment.html>
More information about the macports-changes
mailing list