Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 03:47:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203316] perl's ports build framework bug (devel/p5-App-cpanminus net/p5-Net-Server make package fail)
Message-ID:  <bug-203316-13-4E2NL4fH6R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203316-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203316-13@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=203316

Tod McQuillin <devin@spamcop.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |devin@spamcop.net

--- Comment #4 from Tod McQuillin <devin@spamcop.net> ---
I found this happens when the obsolete variable PERL_VERSION is defined in
make.conf (or elsewhere).

In /usr/ports/Mk/Uses/perl5.mk we have:

.if defined(PERL_VERSION)
PERL5_DEPEND=    ${PERL5}
THIS_IS_OLD_PERL=    yes
.else

and later:

.if defined(THIS_IS_OLD_PERL)
SITE_MAN1_REL?=    share/man/man1
.else
SITE_MAN1_REL?=    ${SITE_PERL_REL}/man/man1
.endif

This is used to populate PERL5_MAN1 which ends up putting the wrong paths in
pkg_plist when %%PERL5_MAN1%% is used.

I fixed this by removing PERL_VERSION from /etc/make.conf.  The replacement for
this is now DEFAULT_VERSIONS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



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