Fix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
[p5sagit/p5-mst-13.2.git] / hints / darwin.sh
index 3703ed3..6cb9bd1 100644 (file)
@@ -212,7 +212,9 @@ EOM
      exit 1
   ;;
 *)
-    cat <<EOM >&4
+    case "$osvers" in
+    8.*)
+        cat <<EOM >&4
 
 
 
@@ -221,9 +223,16 @@ EOM
 *** due to problems with the 64-bit versions of msgctl, semctl,
 *** and shmctl. You should also expect the following test failures:
 ***
-***    ext/threads/shared/t/wait (threaded builds only)
+***    ext/threads-shared/t/wait (threaded builds only)
 
 EOM
+
+        [ "$d_msgctl" ] || d_msgctl='undef'
+        [ "$d_semctl" ] || d_semctl='undef'
+        [ "$d_shmctl" ] || d_shmctl='undef'
+    ;;
+    esac
+
     case `uname -p` in 
     powerpc) arch=ppc64 ;;
     i386) arch=x86_64 ;;
@@ -239,9 +248,6 @@ EOM
        eval $var="\$${var}\ -arch\ $arch"
     done
 
-    [ "$d_msgctl" ] || d_msgctl='undef'
-    [ "$d_semctl" ] || d_semctl='undef'
-    [ "$d_shmctl" ] || d_shmctl='undef'
     ;;
 esac
 ;;