Ticket #46460: p5-mogilefs-server.2.72.2.diff
File p5-mogilefs-server.2.72.2.diff, 2.3 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup perl5 1.0 6 6 7 perl5.branches 5.16 8 perl5.setup mogilefs-server 2.329 revision 3 7 perl5.branches 5.16 5.18 5.20 8 perl5.setup MogileFS-Server 2.72 9 license {Artistic-1 GPL} 10 10 categories perl net sysutils 11 11 platforms darwin 12 12 maintainers nomaintainer … … 15 15 long_description ${description} 16 16 17 17 homepage http://www.danga.com/mogilefs 18 master_sites http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO \19 http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ20 18 21 checksums md5 999122fa9cb641a19b84dbfe25535fd3\22 sha 1 1a9246d2d08fd6b0f751253f0618bd01043e5b6619 checksums rmd160 1a274d9262b3b1c38df694d522ca7e6d3c07caa0 \ 20 sha256 d7d5a45d50127bf62e451c6d86eb247103b01c46662898ae4e18daa08be8e0bf 23 21 24 22 if {${perl5.major} != ""} { 25 # add a warning about installing a MySQL database somewhere 26 depends_run-append \ 23 # 24 # requires one of 25 # p5-dbd-sqlite 26 # p5-dbd-mysql 27 # p5-dbd-pg 28 # depending on database to be used 29 # add variants to select ? 30 # default configuration is MySQL 31 32 depends_lib-append \ 27 33 port:p${perl5.major}-danga-socket \ 28 34 port:p${perl5.major}-dbd-mysql \ 29 35 port:p${perl5.major}-dbi \ 30 port:p${perl5.major}-gearman \31 port:p${perl5.major}-gearman-server \32 port:p${perl5.major}-gearman-client-async \33 36 port:p${perl5.major}-io-aio \ 37 port:p${perl5.major}-mogilefs-client \ 38 port:p${perl5.major}-mogilefs-utils \ 34 39 port:p${perl5.major}-net-netmask \ 35 40 port:p${perl5.major}-perlbal \ 36 41 port:p${perl5.major}-sys-syscall 42 43 post-patch { 44 eval reinplace "s|/usr/bin/perl|${perl5.bin}|" [glob ${worksrcpath}/mog*] 45 } 46 47 # add perl5.bindir to PATH so mogadm can be found 48 test.env-append PATH="$env(PATH):${perl5.bindir}" 49 50 # test configuration for MySQL, see TESTING for others 51 test.args-append MOGTEST_DBUSER=test \ 52 MOGTEST_DBNAME=test \ 53 MOGTEST_DBTYPE=MySQL 37 54 }