develooper Front page | perl.perl5.changes | Postings from April 2008

Change 33738: Looks like we can do System V IPC 64 bit on Leopard. Lets see whether

From:
Nicholas Clark
Date:
April 24, 2008 04:15
Subject:
Change 33738: Looks like we can do System V IPC 64 bit on Leopard. Lets see whether
Change 33738 by nicholas@mouse-mill on 2008/04/24 11:05:02

	Looks like we can do System V IPC 64 bit on Leopard. Lets see whether
	the magic smoke escapes from other testers.

Affected files ...

... //depot/perl/hints/darwin.sh#66 edit

Differences ...

==== //depot/perl/hints/darwin.sh#66 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh#65~33737~	2008-04-24 03:38:56.000000000 -0700
+++ perl/hints/darwin.sh	2008-04-24 04:05:02.000000000 -0700
@@ -212,7 +212,9 @@
      exit 1
   ;;
 *)
-    cat <<EOM >&4
+    case "$osvers" in
+    8.*)
+        cat <<EOM >&4
 
 
 
@@ -224,6 +226,13 @@
 ***    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 @@
        eval $var="\$${var}\ -arch\ $arch"
     done
 
-    [ "$d_msgctl" ] || d_msgctl='undef'
-    [ "$d_semctl" ] || d_semctl='undef'
-    [ "$d_shmctl" ] || d_shmctl='undef'
     ;;
 esac
 ;;
End of Patch.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About