Changeset 38535


Ignore:
Timestamp:
Jul 24, 2008, 9:43:08 PM (11 years ago)
Author:
landonf@…
Message:

Set ocam_site_path in both targets that use it, as targets are only run once (as noted by Ryan)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/caml-ounit/Portfile

    r38533 r38535  
    2626                    port:caml-findlib
    2727
    28 pre-extract {
    29     global ocaml_site_path
     28post-patch {
    3029    set ocaml_site_path [exec ocamlfind printconf destdir]
    31 }
    32 
    33 post-patch {
    3430    reinplace       "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
    3531                    ${worksrcpath}/Makefile
     
    3733
    3834pre-destroot {
     35    set ocaml_site_path [exec ocamlfind printconf destdir]
    3936    file mkdir ${destroot}/${ocaml_site_path}
    4037}
Note: See TracChangeset for help on using the changeset viewer.