Ticket #42783: dirvish-perl5.16.diff

File dirvish-perl5.16.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

proposed patch

  • Portfile

     
    45
    56name            dirvish
    67version         1.2.1
    7 revision        1
     8revision        2
    89categories      sysutils
    910maintainers     behanna.org:chris
     11supported_archs noarch
     12
    1013description     Client/server rsync- and hard-link-based snapshot backup system
    1114
    1215long_description \
     
    5155
    5256destroot.args   PREFIX=${prefix}
    5357
    54 depends_lib     port:p5.12-time-modules port:p5.12-timedate port:p5.12-time-period port:rsync
     58depends_lib     port:perl5.16 \
     59                port:p5.16-time-modules \
     60                port:p5.16-timedate \
     61                port:p5.16-time-period \
     62                port:rsync
  • files/patch-Makefile.diff

     
    3333+INSTALL_SCRIPT=${INSTALL} ${INSTALL_UCREDS} -m 555
    3434+
    3535+header:
    36 +       echo "#!`which perl`" > header.pl
     36+       echo "#!${PREFIX}/bin/perl5.16" > header.pl
    3737+       echo "" >> header.pl
    3838+       echo "\$$CONFDIR = \"${CONFDIR}\";" >> header.pl
    3939+