Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 123369 Details for
Bug 183625
perl-app.eclass and perl-module.eclass prevent the use of Makefile if PREFER_BUILDPL is set
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
PREFER_BUILDPL behaviour fix
perl-eclass.patch (text/plain), 2.01 KB, created by
Vincent Pit
on 2007-06-29 08:58:50 UTC
(
hide
)
Description:
PREFER_BUILDPL behaviour fix
Filename:
MIME Type:
Creator:
Vincent Pit
Created:
2007-06-29 08:58:50 UTC
Size:
2.01 KB
patch
obsolete
>--- perl-app.eclass 2007-06-29 09:58:47.000000000 +0200 >+++ perl-app.eclass 2007-06-29 09:59:28.000000000 +0200 >@@ -25,15 +25,14 @@ > > SRC_PREP="yes" > pwd >- if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then >+ if ( ( [ -f Build.PL ] && ( [ "${PREFER_BUILDPL}" == "yes" ] || [ ! -f Makefile.PL ] ) ) || [ ${PN} == "module-build" ] ); then > einfo "Using Module::Build" > echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" >- elif [ -f Makefile.PL ] && [ ! ${PN} == "module-build" ]; then >+ elif [ -f Makefile.PL ]; then > einfo "Using ExtUtils::MakeMaker" > echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ > PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" >- fi >- if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then >+ else > einfo "No Make or Build file detected..." > return > fi >--- perl-module.eclass 2007-06-29 09:44:40.000000000 +0200 >+++ perl-module.eclass 2007-06-29 09:57:48.000000000 +0200 >@@ -116,15 +116,14 @@ > > SRC_PREP="yes" > find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null >- if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then >+ if ( ( [ -f Build.PL ] && ( [ "${PREFER_BUILDPL}" == "yes" ] || [ ! -f Makefile.PL ] ) ) || [ ${PN} == "module-build" ] ); then > einfo "Using Module::Build" > echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" >- elif [ -f Makefile.PL ] && [ ! ${PN} == "module-build" ]; then >+ elif [ -f Makefile.PL ]; then > einfo "Using ExtUtils::MakeMaker" > echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ > PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" >- fi >- if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then >+ else > einfo "No Make or Build file detected..." > return > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 183625
: 123369