[38746] trunk/dports/devel/caml-pcre/Portfile
landonf at macports.org
landonf at macports.org
Tue Jul 29 19:28:56 PDT 2008
Revision: 38746
http://trac.macosforge.org/projects/macports/changeset/38746
Author: landonf at macports.org
Date: 2008-07-29 19:28:55 -0700 (Tue, 29 Jul 2008)
Log Message:
-----------
The 'ocamlfind_destdir' command already contains site-lib in the returned path.
Modified Paths:
--------------
trunk/dports/devel/caml-pcre/Portfile
Modified: trunk/dports/devel/caml-pcre/Portfile
===================================================================
--- trunk/dports/devel/caml-pcre/Portfile 2008-07-30 02:23:41 UTC (rev 38745)
+++ trunk/dports/devel/caml-pcre/Portfile 2008-07-30 02:28:55 UTC (rev 38746)
@@ -4,7 +4,7 @@
name caml-pcre
version 5.15.0
-revision 1
+revision 2
categories devel ml
maintainers eridius at macports.org
description Perl compatibility regular expressions for OCaml
@@ -46,11 +46,14 @@
}
pre-build {
- file mkdir [ocamlfind_destdir]/site-lib/stublibs
- reinplace "s|##OCAMLFIND_INSTFLAGS##|-ldconf ignore -destdir '[ocamlfind_destdir]' -metadir ''|" ${worksrcpath}/OCamlMakefile
+ reinplace "s|##OCAMLFIND_INSTFLAGS##|-destdir '[ocamlfind_destdir]' -metadir ''|" ${worksrcpath}/OCamlMakefile
reinplace "s|##PREFIX##|${prefix}|g" ${worksrcpath}/Makefile.conf
}
+pre-destroot {
+ file mkdir "[ocamlfind_destdir]/stublibs"
+}
+
post-destroot {
# install the doc/examples dirs if we built them
if {[variant_isset doc]} then {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080729/a9aad077/attachment-0001.html
More information about the macports-changes
mailing list