https://trac.macports.org/ticket/43480 --- Configure.orig +++ Configure @@ -4363,6 +4363,8 @@ dos|vms) *) version=`echo $revision $patchlevel $subversion | \ $awk '{ printf "%d.%d.%d", $1, $2, $3 }'` + version_short=`echo $revision $patchlevel | \ + $awk '{ printf "%d.%d\n", $1, $2 }'` api_versionstring=`echo $api_revision $api_version $api_subversion | \ $awk '{ printf "%d.%d.%d", $1, $2, $3 }'` ;; @@ -7336,7 +7338,7 @@ esac : /opt/perl/lib/perl5... would be redundant. : The default "style" setting is made in installstyle.U case "$installstyle" in -*lib/perl5*) set dflt privlib lib/$package/$version ;; +*lib/perl5*) set dflt privlib lib/$package/$version_short ;; *) set dflt privlib lib/$version ;; esac eval $prefixit @@ -7584,7 +7586,7 @@ siteprefixexp="$ansexp" prog=`echo $package | $sed 's/-*[0-9.]*$//'` case "$sitelib" in '') case "$installstyle" in - *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;; + *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version_short ;; *) dflt=$siteprefix/lib/site_$prog/$version ;; esac ;; @@ -8001,7 +8003,7 @@ case "$vendorprefix" in '') prog=`echo $package | $sed 's/-*[0-9.]*$//'` case "$installstyle" in - *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;; + *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version_short ;; *) dflt=$vendorprefix/lib/vendor_$prog/$version ;; esac ;;