From owner-freebsd-perl@FreeBSD.ORG Mon Jan 5 19:22:39 2015 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AE7B1C2 for ; Mon, 5 Jan 2015 19:22:39 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1189766A44 for ; Mon, 5 Jan 2015 19:22:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t05JMT93022192 for ; Mon, 5 Jan 2015 19:22:29 GMT (envelope-from bugzilla-noreply@freebsd.org) 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) Date: Mon, 05 Jan 2015 19:22:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Package Infrastructure X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 19:22:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196518 Mikhail T. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bapt@FreeBSD.org Status|Closed |Open Resolution|Not A Bug |--- --- Comment #4 from Mikhail T. --- (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.