Bug 80015 - PATCH - databases/p5-DBD-CSV - Missing $PERL_ARCH in Makefile causes spurious error.
Summary: PATCH - databases/p5-DBD-CSV - Missing $PERL_ARCH in Makefile causes spurious...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Erwin Lansing
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 23:30 UTC by freebsd
Modified: 2005-05-02 12:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2005-04-16 23:30:24 UTC
Missing ${PERL_ARCH} in $BUILD_DEPENDS assignment for DBD::File module
path causes the following false error ...

  ===>   Registering installation for p5-Text-CSV_XS-0.23
  ===>   Returning to build of p5-DBD-CSV-0.22,1
  ===>   p5-DBD-CSV-0.22,1 depends on file: /misc/local/lib/perl5/site_perl/5.8.6/DBD/File.pm - not found
  ===>    Verifying install for /misc/local/lib/perl5/site_perl/5.8.6/DBD/File.pm in /misc/ports/databases/p5-DBD-File
  ===>  p5-DBD-File-0.33 This module is useless with p5-DBI.
  *** Error code 1

  Stop in /misc/ports-current/databases/p5-DBD-File.
  *** Error code 1

  Stop in /misc/ports-current/databases/p5-DBD-CSV.

Fix: 

20c20
< 		${SITE_PERL}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File
---
> 		${SITE_PERL}/${PERL_ARCH}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File
How-To-Repeat: 
Try to build databases/p5-DBD-CSV port w/ Perl 5.8.6 installed (unsure
if that will make any difference, compared to Perl 5.6) and
databases/p5-DBI (1.48) installed.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2005-04-17 08:49:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->erwin

his
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2005-05-02 12:23:41 UTC
State Changed
From-To: open->closed

Actually, it is not as easy as it seems. For perl < 5.6.x 
we need DBD::File, but not for perl >= 5.6.x. However, 
SQL::Statement is marked IGNORE for perl < 5.6.x, so this 
port should as well, which also gets rid of the DBD::File 
dependency which now is included in DBI.