Ticket #20404: Portfile.2.diff

File Portfile.2.diff, 929 bytes (added by jmroot (Joshua Root), 14 years ago)

perl5.10 portfile patch

  • Portfile

     
    3838configure.env       LC_ALL=C
    3939configure.cmd       sh Configure
    4040configure.pre_args
     41configure.universal_args-delete --disable-dependency-tracking
    4142configure.post_args     \
    4243                                        -des    \
    4344                                        -Dprefix='${prefix}'    \
    44                                         -Dccflags="-I'${prefix}/include'" \
    45                     -Dldflags=-L'${prefix}/lib' \
     45                                        -Dcppflags="\${CPPFLAGS}" \
     46                                        -Dccflags="\${CFLAGS}" \
     47                    -Dldflags="\${LDFLAGS}" \
    4648                    -Dvendorprefix='${prefix}'  \
    4749                                        -D cc=\${CC} \
    4850                                        -D ld=\${CC} \
     
    5860
    5961configure.ccache        no
    6062
    61 universal_variant   no
     63if {[variant_isset universal]} {
     64    post-configure {
     65        system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
     66    }
     67}
    6268
    6369test.run            yes
    6470