Ticket #12950: Portfile.20090310.1655.patch

File Portfile.20090310.1655.patch, 1.2 KB (added by ghosthound, 16 years ago)

perl5.8 Portfile patch to alter @INC

  • Portfile

     
    55
    66name            perl5.8
    77version         5.8.9
    8 revision        2
     8revision        3
    99categories      lang
    1010platforms       darwin freebsd linux
    1111maintainers     ricci openmaintainer
     
    2727    sha1    19843b5a7585cf35d96c07dbcd419bbdd5813617 \
    2828    rmd160  680004238d626ec985075e1b4519b7f0b34f57e5
    2929
     30patchfiles  patch-perl.c.diff
     31
    3032post-patch {
    3133    reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
    3234    # Ensure that the ld value set in configure.args is used
     
    4446    -D cppflags="\${CPPFLAGS}" \
    4547    -D ldflags="\${LDFLAGS}" \
    4648    -D vendorprefix='${prefix}' \
     49    -D man1ext='1pm' \
    4750    -D man3ext='3pm' \
    4851    -D cc=\${CC} \
    49     -D ld=\${CC}
     52    -D ld=\${CC} \
     53    -D man1dir='${prefix}/share/man/man1p' \
     54    -D man3dir='${prefix}/share/man/man3p' \
     55    -D siteman1dir='${prefix}/share/man/man1' \
     56    -D siteman3dir='${prefix}/share/man/man3' \
     57    -D vendorman1dir='${prefix}/share/man/man1' \
     58    -D vendorman3dir='${prefix}/share/man/man3'
    5059
    5160# Allow perl to find p5-* port installed by the last version
    5261if { [variant_isset threads] } {