Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2015 19:22:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 196518] PERL5_MANx and SITE_ARCH may be set incorrectly (perl-5.10.1)
Message-ID:  <bug-196518-14331-HSHy0ydUf0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196518-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196518-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196518

Mikhail T. <mi@ALDAN.algebra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bapt@FreeBSD.org
             Status|Closed                      |Open
         Resolution|Not A Bug                   |---

--- Comment #4 from Mikhail T. <mi@ALDAN.algebra.com> ---
(In reply to Mathieu Arnold from comment #2)
> The supported versions in the ports tree are 5.16, 5.18 and 5.20.
> The default version is 5.18, and will be 5.20 in May.
> You should upgrade your system.

I am sorry, but I reject the notion, that in order to be able to install a
minor perl-module, I must upgrade my entire system first. Rebuilding perl5
would, for example, also require me to rebuild my KDE3 install -- for which
there is no substitute in the ports-tree either (KDE4, infamously, is not such
a thing).

It is perfectly fine for FreeBSD to no longer provide the perl5.10 port, but it
should still handle existing installs, where the old version is still present.

Meanwhile, setting the following variables in make.conf helps me overcome the
problem:

SITE_PERL_REL=    lib/perl5/site_perl/${PERL_VERSION}
SITE_MAN3_REL=    lib/perl5/${PERL_VERSION}/man/man3
SITE_ARCH_REL=    ${SITE_PERL_REL}/${PERL_ARCH}

The settings should, probably, be placed into Uses/perl5.mk -- conditional on
the PERL_VERSION (or a related knob). But I am not sure, what exactly the
conditions should be -- fixing things for 5.10-users, we should also check,
where the 5.14 and 5.16 installed their bits...

Another problem, that remains is the compression of man-pages -- the pkg-plist
files of various p5-* ports list them with .gz suffixes, but the pages aren't
actually compressed here... I added the following to my make.conf as a
work-around:

.if ${.CURDIR:T:Mp5-*} != ""
post-install:
    -gzip -9 ${STAGEDIR}/${SITE_MAN3}/*.3
.endif

but that's not a reliable solution. I am not sure, what to do about these -- I
thought, pkg would handle (un)compressed man-pages automatically...

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196518-14331-HSHy0ydUf0>