Opened 11 years ago

Closed 7 years ago

#28174 closed submission (fixed)

p5-db_file: make a port

Reported by: ryandesign (Ryan Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: mojca (Mojca Miklavec), jason@…
Port: p5-db_file

Description

We need a port for DB_File for BioPerl (#26468)

Attachments (3)

Portfile (748 bytes) - added by ryandesign (Ryan Schmidt) 11 years ago.
patch-config.in.diff (576 bytes) - added by ryandesign (Ryan Schmidt) 11 years ago.
Portfile.2 (801 bytes) - added by dbevans (David B. Evans) 7 years ago.
Updated Portfile for DB_File version 1.835

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by ryandesign (Ryan Schmidt)

Attachment: Portfile added

Changed 11 years ago by ryandesign (Ryan Schmidt)

Attachment: patch-config.in.diff added

comment:1 Changed 11 years ago by ryandesign (Ryan Schmidt)

Well, here's a Portfile and patch that build DB_File against db51, but it fails in the destroot phase with:

DEBUG: Executing proc-post-org.macports.destroot-destroot-0
Error: Target org.macports.destroot returned: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_perl_p5-db_file/work/destroot/opt/local/lib/perl5/vendor_perl/5.8.9: no such file or directory

This post-destroot phase is defined in the perl5 portgroup, and I don't know if this means the port is installing files into the wrong location, or that there is a bug in the perl5 portgroup.

comment:2 Changed 11 years ago by ryandesign (Ryan Schmidt)

Type: defectsubmission

comment:3 Changed 7 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:4 Changed 7 years ago by dbevans (David B. Evans)

Cc: jason@… added

This module supports only the Berkeley DB 1.* API. Although it can be used with Berkeley DB versions 2.* 3.* 4.*, the functionality is limited to that in 1.*. Perhaps by now bioperl has been updated to use p5-berkeleydb which supports the the newer APIs.

Last edited 7 years ago by dbevans (David B. Evans) (previous) (diff)

Changed 7 years ago by dbevans (David B. Evans)

Attachment: Portfile.2 added

Updated Portfile for DB_File version 1.835

comment:5 Changed 7 years ago by dbevans (David B. Evans)

At any rate, Portfile attached modified to build using current perl5 PortGroup and updated to current version 1.835. Builds for me.

comment:6 Changed 7 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Port committed in r135127 after changing dependency on db51 to depends_lib and adding license and descriptions.

Note: See TracTickets for help on using tickets.