[Bug 203316] perl's ports build framework bug (devel/p5-App-cpanminus net/p5-Net-Server make package fail)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 11 03:47:53 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203316

Tod McQuillin <devin at spamcop.net> changed:

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

--- Comment #4 from Tod McQuillin <devin at 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.


More information about the freebsd-ports-bugs mailing list