Lines 116-130
Link Here
|
116 |
|
116 |
|
117 |
SRC_PREP="yes" |
117 |
SRC_PREP="yes" |
118 |
find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null |
118 |
find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null |
119 |
if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then |
119 |
if ( ( [ -f Build.PL ] && ( [ "${PREFER_BUILDPL}" == "yes" ] || [ ! -f Makefile.PL ] ) ) || [ ${PN} == "module-build" ] ); then |
120 |
einfo "Using Module::Build" |
120 |
einfo "Using Module::Build" |
121 |
echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" |
121 |
echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" |
122 |
elif [ -f Makefile.PL ] && [ ! ${PN} == "module-build" ]; then |
122 |
elif [ -f Makefile.PL ]; then |
123 |
einfo "Using ExtUtils::MakeMaker" |
123 |
einfo "Using ExtUtils::MakeMaker" |
124 |
echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ |
124 |
echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ |
125 |
PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" |
125 |
PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" |
126 |
fi |
126 |
else |
127 |
if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then |
|
|
128 |
einfo "No Make or Build file detected..." |
127 |
einfo "No Make or Build file detected..." |
129 |
return |
128 |
return |
130 |
fi |
129 |
fi |