Bug 131225

Summary: math/PDL: PDL-2.4.3_5: Unable to find PDL/pdldoc.db
Product: Ports & Packages Reporter: douglas steinawnd <dzs-pr>
Component: Individual Port(s)Assignee: Philip M. Gollucci <pgollucci>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description douglas steinawnd 2009-01-31 20:20:02 UTC
When starting the perlDL shell from PDL-2.4.3, the following nonfatal warning is displayed:

dzs@dzs:PDL$ pdl
perlDL shell v1.33
 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
 'COPYING' in the PDL distribution. This is free software and you
 are welcome to redistribute it under certain conditions, see
 the same file for details.
ReadLines, NiceSlice, MultiLines  enabled
Reading PDL/default.perldlrc...
Unable to find PDL/pdldoc.db in /usr/local/lib/perl5/5.8.8/BSDPAN:/usr/local/lib/perl5/site_perl/5.8.8/mach:/usr/local/lib/perl5/site_perl/5.8.8:/usr/local/lib/perl5/site_perl:/usr/local/lib/perl5/5.8.8/mach:/usr/local/lib/perl5/5.8.8:.
Type 'demo' for online demos
Loaded PDL v2.4.3

Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)

perldl> 

--

It seems that the 'scantree.pl' should be run after installing the files. This builds the database and PDL::Index.

Fix: 

# autogen plist
 post-install:
+       @(cd ${WRKSRC}; ${PERL} Doc/scantree.pl)
        @(cd ${WRKSRC}/blib/man3 ; \
          ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/," \
                >> ${TMPPLIST} ; \--9PpAeBT6whu5agXReiKUfSpZpdek6mdbIJanoU6DlgB2x9KX
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2009-01-14 03:15:19.000000000 -0800
+++ Makefile    2009-01-31 11:53:15.000000000 -0800
@@ -70,6 +70,7 @@
How-To-Repeat: Run pdl after installing the port.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-02-02 08:27:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Fix synopsis and assign.
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-01-13 04:29:43 UTC
Responsible Changed
From-To: perl->pgollucci

I'll take it. 

Long time stranger!
`
http://www.freebsd.org/cgi/query-pr.cgi?pr=131225 
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-01-14 03:31:34 UTC
pgollucci    2010-01-14 03:31:21 UTC

  FreeBSD ports repository

  Modified files:
    math/PDL             Makefile 
  Log:
  - Fix startup warning by running Doc/scantree.pl post-install
  
  PR:             ports/131225
  Submitted by:   douglas steinwand <dzs-pr@dzs.fx.org>
  
  Revision  Changes    Path
  1.61      +2 -1      ports/math/PDL/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-01-14 03:32:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!