Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 14:27:16 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Sunpoet Po-Chuan Hsieh" <sunpoet@FreeBSD.org>, <az@FreeBSD.org>
Cc:        ports <ports@freebsd.org>
Subject:   Re: Possible fix for all p5-* port installs being broken on FreeBSD
Message-ID:  <4B0216DAF77A4A93B59753C4E0FD366B@multiplay.co.uk>
References:  <7BF7BC08166A4E6E91CF12EF75622F6B@multiplay.co.uk> <CAMHz58TDicdsNg4ZsbGrPW=OskSkiZAyxj5EgLiwqFT81CYVFg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0CE9_01CED18E.4DCF5E40
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit

----- Original Message ----- 
From: "Sunpoet Po-Chuan Hsieh" <sunpoet@FreeBSD.org>

> On Fri, Oct 25, 2013 at 8:26 PM, Steven Hartland <smh@freebsd.org> wrote:
> 
>> Hi Sunpoet seems your the most active maintainer
>> of perl ports system on FreeBSD so please excuse
>> the email if your not the correct person but here goes.
>>
>> Currently make install for all p5-* ports fail
>> because they cant find the installed files.
>>
>> This seems to be because the site_perl directory
>> struction now uses PERL_VERSION instead of PERL_VER
>> e.g 5.14.4 not 5.14
>>
>> The attached patch fixes this for me by changing
>> the package vars to use PERL_VERISON but its not
>> clear if its the install which is incorrect or
>> the vars.
>>
>> cc'ed ports@ just in case.
>>
>>    Regards
>>    Steve
> 
> 
> Hi Steven,
> 
> The perl infrastructure change was made by az@.
> It helps to make minor version update easier (e.g. 5.14.2 -> 5.14.4).
> Please see UPDATING 20130612 entry for further information.
> Thanks.

Thanks Sunpoet :)

@az given UPDATING 20130612 I guess the attached patch is
required. As its currently its not possible to install any
p5-* port think we should get it commited ASAP assuming its
the correct fix.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.
------=_NextPart_000_0CE9_01CED18E.4DCF5E40
Content-Type: application/octet-stream;
	name="p5-ports-fix.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="p5-ports-fix.patch"

Index: /usr/ports/Mk/Uses/perl5.mk=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
--- /usr/ports/Mk/Uses/perl5.mk	(revision 331568)=0A=
+++ /usr/ports/Mk/Uses/perl5.mk	(working copy)=0A=
@@ -92,7 +92,7 @@=0A=
 PERL_PORT?=3D	perl5.12=0A=
 .endif=0A=
 =0A=
-SITE_PERL_REL?=3D	lib/perl5/site_perl/${PERL_VER}=0A=
+SITE_PERL_REL?=3D	lib/perl5/site_perl/${PERL_VERSION}=0A=
 SITE_PERL?=3D	${LOCALBASE}/${SITE_PERL_REL}=0A=
 =0A=
 PERL5=3D		${LOCALBASE}/bin/perl${PERL_VERSION}=0A=
@@ -152,16 +152,16 @@=0A=
 PLIST_SUB+=3D	PERL_VERSION=3D${PERL_VERSION} \=0A=
 			PERL_VER=3D${PERL_VER} \=0A=
 			PERL_ARCH=3D${PERL_ARCH} \=0A=
-			PERL5_MAN3=3Dlib/perl5/${PERL_VER}/man/man3 \=0A=
+			PERL5_MAN3=3Dlib/perl5/${PERL_VERSION}/man/man3 \=0A=
 			SITE_PERL=3D${SITE_PERL_REL}=0A=
 =0A=
 # handle perl5 specific manpages=0A=
 .for sect in 3=0A=
 .if defined(P5MAN${sect})=0A=
-_MANPAGES+=3D	=
${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%}=0A=
+_MANPAGES+=3D	=
${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VERSION}/man/man${sect}/%}=0A=
 .endif=0A=
 .endfor=0A=
-MANDIRS+=3D	${PREFIX}/lib/perl5/${PERL_VER}=0A=
+MANDIRS+=3D	${PREFIX}/lib/perl5/${PERL_VERSION}=0A=
 =0A=
 .if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny}=0A=
 _USE_PERL5+=3D	configure=0A=
@@ -225,7 +225,7 @@=0A=
 CONFIGURE_ARGS+=3D	CC=3D"${CC}" CCFLAGS=3D"${CFLAGS}" =
PREFIX=3D"${PREFIX}" \=0A=
 			INSTALLPRIVLIB=3D"${PREFIX}/lib" INSTALLARCHLIB=3D"${PREFIX}/lib"=0A=
 CONFIGURE_SCRIPT?=3D	Makefile.PL=0A=
-MAN3PREFIX?=3D		${PREFIX}/lib/perl5/${PERL_VER}=0A=
+MAN3PREFIX?=3D		${PREFIX}/lib/perl5/${PERL_VERSION}=0A=
 .undef HAS_CONFIGURE=0A=
 =0A=
 .if !target(do-configure)=0A=

------=_NextPart_000_0CE9_01CED18E.4DCF5E40--




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