pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46439: PERL5_MODULE_TYPE also supports "Module::Install::Bundled"



>Number:         46439
>Category:       pkg
>Synopsis:       PERL5_MODULE_TYPE also supports "Module::Install::Bundled"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 11 12:20:00 +0000 2012
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.6
>Organization:
        
>Environment:
        
        
System: NetBSD hydrogen.elements.tetera.org 6.99.6 NetBSD 6.99.6 (LEAFGIRLC) 
#2: Thu May 3 00:44:03 JST 2012 
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/LEAFGIRLC
 i386
Architecture: i386
Machine: i386
>Description:
According to pkgsrc/lang/perl5/module.mk, PERL5_MODULE_TYPE supports
"Module::Install::Bundled" option.
Please update the comment.

From module.mk,

.if (${PERL5_MODULE_TYPE} != "MakeMaker") && \
    (${PERL5_MODULE_TYPE} != "Module::Build") && \
    (${PERL5_MODULE_TYPE} != "Module::Install") && \
    (${PERL5_MODULE_TYPE} != "Module::Install::Bundled")
PKG_FAIL_REASON+=       "\`\`${PERL5_MODULE_TYPE}'' is not a supported 
PERL5_MODULE_TYPE."
.endif

(snip)

.elif ${PERL5_MODULE_TYPE} == "Module::Install"
PERL5_MODTYPE=          modinst
.elif ${PERL5_MODULE_TYPE} == "Module::Install::Bundled"
PERL5_MODTYPE=          modinst

>How-To-Repeat:
        
>Fix:
        
Index: module.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/module.mk,v
retrieving revision 1.65
diff -u -r1.65 module.mk
--- module.mk   15 Aug 2011 04:48:36 -0000      1.65
+++ module.mk   11 May 2012 12:17:56 -0000
@@ -26,9 +26,9 @@
 # PERL5_LDFLAGS                extra linker flags to pass on to the build
 #                      process.
 #
-# PERL5_MODULE_TYPE    "MakeMaker", "Module::Build" or "Module::Install"
-#                      depending on which framework is used to build/install
-#                      the module.
+# PERL5_MODULE_TYPE    "MakeMaker", "Module::Build", "Module::Install"
+#                      or "Module::Install::Bundled" depending on which
+#                      framework is used to build/install the module.
 
 .include "../../lang/perl5/license.mk"
 


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index