Got a couple of issues with perl5.006 that just went into -current
in terms of perl5 ports.

The first one is relatively straightforward, being a simple
versioning problem.  Following patch fixes that (OSVERSION
may be slightly wrong, but it corresponds to what I have
in my up-to-date src tree):

RCS file: /home/src/FreeBSD/ports/Mk/,v
retrieving revision 1.340
diff -u -r1.340
--- 2000/06/16 21:52:40     1.340
+++ 2000/06/27 23:59:03
@@ -764,12 +764,17 @@
+.if ${OSVERSION} >= 500006
+PERL_VER=      5.006
+PERL_VER=      5.005
 .if ${OSVERSION} >= 300000
 PERL_VERSION=  5.00503
 PERL_VERSION=  5.00502
-PERL_VER=              5.005
 PERL_ARCH=             ${ARCH}-freebsd
                                PERL_VER=${PERL_VER} \

The next one is a little more obscure, at least to my limited
perl knowledge.

Take a perl5 port at random.. I chose converters/p5-Convert-UU
I had to make the following (kludgy) hack to the PLIST to make
things package properly:

Index: PLIST
RCS file: /home/src/FreeBSD/ports/converters/p5-Convert-UU/pkg/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- PLIST       1999/01/11 15:33:32     1.6
+++ PLIST       2000/06/27 23:54:22
@@ -1,5 +1,5 @@
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Convert/UU
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Convert/UU

Notice how things appear to be being installed in a mach/ subdirectory,
as opposed to the previous {i386,alpha}-freebsd/ subdirectories.

Also, when making the port, it complains about not being able to
find pod2man (to make the manual pages), even though it successfully
does this elsewhere.

This appears to be affect most (if not all) of the perl5 ports.

Any solutions for this problem?


Ade Lovett, Austin, TX.                 [EMAIL PROTECTED]
FreeBSD: The Power to Serve   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to