| 36 | @@ -4123,6 +4123,8 @@ dos|vms) |
| 37 | *) |
| 38 | version=`echo $revision $patchlevel $subversion | \ |
| 39 | $awk '{ printf "%d.%d.%d\n", $1, $2, $3 }'` |
| 40 | + version_short=`echo $revision $patchlevel | \ |
| 41 | + $awk '{ printf "%d.%d\n", $1, $2 }'` |
| 42 | api_versionstring=`echo $api_revision $api_version $api_subversion | \ |
| 43 | $awk '{ printf "%d.%d.%d\n", $1, $2, $3 }'` |
| 44 | ;; |
| 45 | @@ -6183,7 +6185,7 @@ esac |
| 46 | : /opt/perl/lib/perl5... would be redundant. |
| 47 | : The default "style" setting is made in installstyle.U |
| 48 | case "$installstyle" in |
| 49 | -*lib/perl5*) set dflt privlib lib/$package/$version ;; |
| 50 | +*lib/perl5*) set dflt privlib lib/$package/$version_short ;; |
| 51 | *) set dflt privlib lib/$version ;; |
| 52 | esac |
| 53 | eval $prefixit |
| 54 | @@ -6431,7 +6433,7 @@ siteprefixexp="$ansexp" |
| 55 | prog=`echo $package | $sed 's/-*[0-9.]*$//'` |
| 56 | case "$sitelib" in |
| 57 | '') case "$installstyle" in |
| 58 | - *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;; |
| 59 | + *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version_short ;; |
| 60 | *) dflt=$siteprefix/lib/site_$prog/$version ;; |
| 61 | esac |
| 62 | ;; |
| 63 | @@ -6950,7 +6953,7 @@ case "$vendorprefix" in |
| 64 | '') |
| 65 | prog=`echo $package | $sed 's/-*[0-9.]*$//'` |
| 66 | case "$installstyle" in |
| 67 | - *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;; |
| 68 | + *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version_short ;; |
| 69 | *) dflt=$vendorprefix/lib/vendor_$prog/$version ;; |
| 70 | esac |
| 71 | ;; |