Subject: pkg/31499: "perllink" doesn't work with MANZ
To: None <,,>
From: Matthias Scheler <>
List: pkgsrc-bugs
Date: 10/07/2005 10:26:00
>Number:         31499
>Category:       pkg
>Synopsis:       "perllink" doesn't work with MANZ
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 07 10:26:00 +0000 2005
>Release:        NetBSD 3.99.9 2005-10-07 package sources
Matthias Scheler                        
System: NetBSD 3.99.9 NetBSD 3.99.9 (LYSSA) #0: Tue Oct 4 09:35:16 BST 2005 i386
Architecture: i386
Machine: i386
Our Perl package contains a script "perllink" which is used to link
various things (e.g. manual pages) into the appropriate directory.
Unfortunately it doesn't do the right thing for manual pages if
"MANZ" is used:

tron@lyssa:/usr/pkg#ls -l man/man1/sa-learn.1 lib/perl5/vendor_perl/man/man1/sa-learn.1.gz 
-r--r--r--  1 root  wheel  11114 Oct  7 11:18 lib/perl5/vendor_perl/man/man1/sa-learn.1.gz
lrwxr-xr-x  1 root  wheel     47 Oct  7 11:18 man/man1/sa-learn.1 -> ../../lib/perl5/vendor_perl/man/man1/sa-learn.1

The result is:

tron@lyssa:~>man sa-learn
man: Formatting manual page...
troff: fatal error: can't open `man1/sa-learn.1': No such file or directory

cd pkgsrc/mail/spamassassin 
env MANZ=YES make install
man sa-learn

None provided.