Ignore:
Timestamp:
Oct 18, 2007, 8:16:28 AM (11 years ago)
Author:
mww@…
Message:

remove 'cd' command (#12903)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/openssl/Portfile

    r29845 r30017  
    6161    # configure
    6262    pre-configure {
    63         cd ${worksrcpath}
    64         system "./Configure darwin-i386-cc ${configure.pre_args} ${configure.args}"
    65         system "patch < ${filespath}/patch-Makefiles-universal-i386"
    66         reinplace "s|^PROCESSOR=.*|PROCESSOR=|" Makefile
     63        system "./Configure darwin-i386-cc ${configure.pre_args} ${configure.args} && \
     64                patch < ${filespath}/patch-Makefiles-universal-i386"
     65        reinplace "s|^PROCESSOR=.*|PROCESSOR=|" ${worksrcpath}/Makefile
    6766    }
    6867    # build
    6968    configure {
    70         cd ${worksrcpath}
    7169        system "make"
    7270    }
    7371    # backup, clean up
    7472    post-configure {
    75         cd ${worksrcpath}
    7673        # get list of files to be backed up - only needs to be done once
    7774        fs-traverse file . {
     
    9289    # configure
    9390    pre-build {
    94         cd ${worksrcpath}
    95         system "./Configure darwin-ppc-cc ${configure.pre_args} ${configure.args}"
    96         system "patch < ${filespath}/patch-Makefiles-universal-ppc"
     91        system "./Configure darwin-ppc-cc ${configure.pre_args} ${configure.args} && \
     92                patch < ${filespath}/patch-Makefiles-universal-ppc"
    9793    }
    9894    # build
    9995    build {
    100         cd ${worksrcpath}
    10196        system "make"
    10297    }
    10398    # backup
    10499    post-build {
    105         cd ${worksrcpath}
    106100        # there's already a list of files to be backed up
    107101
     
    115109# universal
    116110    pre-destroot {
    117         cd ${worksrcpath}
    118111        global fileList
    119112        system "make openssl.pc libssl.pc libcrypto.pc"
Note: See TracChangeset for help on using the changeset viewer.