Date: Fri, 25 Oct 2013 13:26:34 +0100 From: "Steven Hartland" <smh@freebsd.org> To: <sunpoet@freebsd.org> Cc: ports@freebsd.org Subject: Possible fix for all p5-* port installs being broken on FreeBSD Message-ID: <7BF7BC08166A4E6E91CF12EF75622F6B@multiplay.co.uk>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0CB0_01CED185.D331E0C0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0CB0_01CED185.D331E0C0 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_0CB0_01CED185.D331E0C0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7BF7BC08166A4E6E91CF12EF75622F6B>