Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 19:05:39 -0500
From:      Ade Lovett <ade@FreeBSD.org>
To:        ports@FreeBSD.org, current@FreeBSD.org
Subject:   perl5 ports and perl5.006
Message-ID:  <20000627190539.C3994@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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):

Index: bsd.port.mk
===================================================================
RCS file: /home/src/FreeBSD/ports/Mk/bsd.port.mk,v
retrieving revision 1.340
diff -u -r1.340 bsd.port.mk
--- bsd.port.mk	2000/06/16 21:52:40	1.340
+++ bsd.port.mk	2000/06/27 23:59:03
@@ -764,12 +764,17 @@
 .endif
 .endif
 
+.if ${OSVERSION} >= 500006
+PERL_VERSION=	5.006
+PERL_VER=	5.006
+.else
+PERL_VER=	5.005
 .if ${OSVERSION} >= 300000
 PERL_VERSION=	5.00503
 .else
 PERL_VERSION=	5.00502
+.endif
 .endif
-PERL_VER=		5.005
 PERL_ARCH=		${ARCH}-freebsd
 PLIST_SUB+=		PERL_VERSION=${PERL_VERSION} \
 				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 @@
 bin/puudecode
 bin/puuencode
 lib/perl5/site_perl/%%PERL_VER%%/Convert/UU.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Convert/UU/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Convert/UU
+lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Convert/UU/.packlist
+@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

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000627190539.C3994>