summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorminskim <minskim>2009-11-19 03:05:57 +0000
committerminskim <minskim>2009-11-19 03:05:57 +0000
commitdbb6da6d74d05dac6865831a9d81e58cb6aab8a2 (patch)
tree9231bb0470d91acaf8e6c21f81b873b2988c3235 /lang/ocaml
parent762b6459de83b4296c8fa7594925558aeda9ea16 (diff)
downloadpkgsrc-dbb6da6d74d05dac6865831a9d81e58cb6aab8a2.tar.gz
Let ocaml's configure recognize 64-bit Darwin 10.
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/distinfo4
-rw-r--r--lang/ocaml/patches/patch-at28
2 files changed, 17 insertions, 15 deletions
diff --git a/lang/ocaml/distinfo b/lang/ocaml/distinfo
index 0d97b9c06ac..11e98504d0f 100644
--- a/lang/ocaml/distinfo
+++ b/lang/ocaml/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2009/10/18 12:47:53 tonio Exp $
+$NetBSD: distinfo,v 1.49 2009/11/19 03:05:57 minskim Exp $
SHA1 (ocaml-3.11.1.tar.bz2) = 570feab47b34b29f866ecadcc16153d5a4a4f6a1
RMD160 (ocaml-3.11.1.tar.bz2) = 991147354a85b975a86ce2dffafce669c9338db5
@@ -11,7 +11,7 @@ SHA1 (patch-ag) = f1b751098d3693b92feb26cda87970426bffcaf1
SHA1 (patch-ah) = 3165bbcdb98d09f5161912e51a3131486aa0b488
SHA1 (patch-aj) = f25a82ce98080c1b5514d7a9f026aea0da54821f
SHA1 (patch-an) = 7a56338a19015b407cbfa8a328655e2bd035f8bf
-SHA1 (patch-at) = 8dd2e86e4ea3fb4e7269a7f47e39d313f4f7ecba
+SHA1 (patch-at) = 010de581e8a153fc322c4966cb9db1b2706b62c6
SHA1 (patch-au) = 1e36bcdf39d40e781273ea51df213db05ff46c89
SHA1 (patch-av) = f56c8924b81a620602bc5a67b0c4459b721701d2
SHA1 (patch-aw) = 5838ca13ba0f5d9328b9bb2135604f72e7d8b87b
diff --git a/lang/ocaml/patches/patch-at b/lang/ocaml/patches/patch-at
index c36246e2f59..ac223f0430a 100644
--- a/lang/ocaml/patches/patch-at
+++ b/lang/ocaml/patches/patch-at
@@ -1,8 +1,8 @@
-$NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
+$NetBSD: patch-at,v 1.18 2009/11/19 03:05:57 minskim Exp $
---- configure.orig 2009-05-19 15:23:47.000000000 +0200
-+++ configure 2009-05-21 10:54:30.000000000 +0200
-@@ -516,7 +516,7 @@
+--- configure.orig 2009-05-20 08:33:09.000000000 -0700
++++ configure
+@@ -516,7 +516,7 @@ if test $withsharedlibs = "yes"; then
mksharedlib="$flexlink"
mkmaindll="$flexlink -maindll"
shared_libraries_supported=true;;
@@ -11,7 +11,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
cmxs="cmxs"
sharedcccompopts="-fPIC"
mksharedlib="$bytecc -shared"
-@@ -615,12 +615,13 @@
+@@ -615,12 +615,13 @@ case "$host" in
alpha*-*-netbsd*) arch=alpha; system=netbsd;;
alpha*-*-openbsd*) arch=alpha; system=openbsd;;
sparc*-*-sunos4.*) arch=sparc; system=sunos;;
@@ -26,7 +26,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
i[3456]86-*-nextstep*) arch=i386; system=nextstep;;
i[3456]86-*-solaris*) if $arch64; then
arch=amd64; system=solaris
-@@ -629,6 +630,7 @@
+@@ -629,6 +630,7 @@ case "$host" in
fi;;
i[3456]86-*-beos*) arch=i386; system=beos;;
i[3456]86-*-cygwin*) arch=i386; system=cygwin;;
@@ -34,15 +34,17 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
i[3456]86-*-darwin*) if $arch64; then
arch=amd64; system=macosx
else
-@@ -655,6 +657,7 @@
+@@ -655,7 +657,9 @@ case "$host" in
x86_64-*-freebsd*) arch=amd64; system=freebsd;;
x86_64-*-netbsd*) arch=amd64; system=netbsd;;
x86_64-*-openbsd*) arch=amd64; system=openbsd;;
+ x86_64-*-solaris*) arch=amd64; system=solaris;;
x86_64-*-darwin9.5) arch=amd64; system=macosx;;
++ x86_64-*-darwin1[0-9]*) arch=amd64; system=macosx;;
esac
-@@ -756,6 +759,7 @@
+ # Some platforms exist both in 32-bit and 64-bit variants, not distinguished
+@@ -756,6 +760,7 @@ case "$arch,$model,$system" in
case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
amd64,*,linux) profiling='prof';;
amd64,*,gnu) profiling='prof';;
@@ -50,7 +52,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
*) profiling='noprof';;
esac
-@@ -1144,6 +1148,8 @@
+@@ -1144,6 +1149,8 @@ if test "$pthread_wanted" = "yes"; then
pthread_caml_link="-cclib -lpthread -cclib -lposix4";;
*-*-freebsd*) pthread_link="-pthread"
pthread_caml_link="-cclib -pthread";;
@@ -59,7 +61,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
*-*-openbsd*) pthread_link="-pthread"
pthread_caml_link="-cclib -pthread";;
*) pthread_link="-lpthread"
-@@ -1195,6 +1201,7 @@
+@@ -1195,6 +1202,7 @@ fi
x11_include="not found"
x11_link="not found"
@@ -67,7 +69,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
for dir in \
$x11_include_dir \
\
-@@ -1241,6 +1248,7 @@
+@@ -1247,6 +1255,7 @@ do
break
fi
done
@@ -75,7 +77,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
if test "$x11_include" = "not found"; then
x11_try_lib_dir=''
-@@ -1335,31 +1343,8 @@
+@@ -1341,31 +1350,8 @@ dbm_include="not found"
dbm_link="not found"
use_gdbm_ndbm=no
@@ -109,7 +111,7 @@ $NetBSD: patch-at,v 1.17 2009/09/07 21:48:13 tonio Exp $
if test "$dbm_include" = "not found" || test "$dbm_link" = "not found"; then
echo "NDBM not found, the \"dbm\" library will not be supported."
else
-@@ -1369,8 +1354,8 @@
+@@ -1375,8 +1361,8 @@ else
else
dbm_include="-I$dbm_include"
fi