Fixes related to working local $.
[p5sagit/p5-mst-13.2.git] / hints / freebsd.sh
index 66f6ca0..f841d32 100644 (file)
@@ -147,8 +147,8 @@ case "$osvers" in
     # the equivalent in the main Configure so we copy a little
     # from Configure XXX Configure should be fixed.
     if $test -r $src/patchlevel.h;then
-       patchlevel=`awk '/define[       ]+PATCHLEVEL/ {print $3}' $src/patchlevel.h`
-       subversion=`awk '/define[       ]+SUBVERSION/ {print $3}' $src/patchlevel.h`
+       patchlevel=`awk '/define[       ]+PERL_VERSION/ {print $3}' $src/patchlevel.h`
+       subversion=`awk '/define[       ]+PERL_SUBVERSION/ {print $3}' $src/patchlevel.h`
     else
        patchlevel=0
        subversion=0