summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/patches/patch-at')
-rw-r--r--lang/ocaml/patches/patch-at41
1 files changed, 13 insertions, 28 deletions
diff --git a/lang/ocaml/patches/patch-at b/lang/ocaml/patches/patch-at
index cdc92f277cc..f00f3856994 100644
--- a/lang/ocaml/patches/patch-at
+++ b/lang/ocaml/patches/patch-at
@@ -1,39 +1,24 @@
-$NetBSD: patch-at,v 1.3 2005/01/24 21:18:16 tv Exp $
+$NetBSD: patch-at,v 1.4 2005/02/04 21:35:51 adrianp Exp $
---- configure.orig 2002-08-07 08:45:00.000000000 -0400
-+++ configure
-@@ -522,12 +522,14 @@ case "$host" in
+--- configure.orig Tue Jan 25 20:13:20 2005
++++ configure Tue Jan 25 20:16:11 2005
+@@ -573,6 +573,7 @@
i[3456]86-*-solaris*) arch=i386; system=solaris;;
i[3456]86-*-beos*) arch=i386; system=beos;;
i[3456]86-*-cygwin*) arch=i386; system=cygwin;;
+ i[3456]86-*-interix3*) arch=i386; system=interix3;;
mips-*-irix6*) arch=mips; system=irix;;
hppa1.1-*-hpux*) arch=hppa; system=hpux;;
- hppa1.1-*-nextstep*) arch=hppa; system=nextstep;;
- rs6000-*-aix*) arch=power; model=rs6000; system=aix;;
- powerpc-*-aix*) arch=power; model=ppc; system=aix;;
- powerpc-*-linux*) arch=power; model=ppc; system=elf;;
-+ powerpc-*-netbsd*) arch=power; model=ppc; system=bsd;;
- powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
- powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody;;
- arm*-*-linux*) arch=arm; system=linux;;
-@@ -591,6 +593,7 @@ case "$arch,$model,$system" in
- power,rs6000,aix) asflags='-u -m pwr -w'; asppflags="$asflags";;
- power,ppc,aix) asflags='-u -m ppc -w'; asppflags="$asflags";;
- power,*,elf) aspp='gcc'; asppflags='-c';;
-+ power,*,bsd) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
- power,*,rhapsody) ;;
- arm,*,linux) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
- ia64,*,linux) asflags=-xexplicit
-@@ -601,6 +604,7 @@ case "$arch,$model,$system" in
- alpha,*,digital) profiling='prof';;
- i386,*,linux_elf) profiling='prof';;
- i386,*,bsd_elf) profiling='prof';;
+ hppa2.0*-*-hpux*) arch=hppa; system=hpux;;
+@@ -657,6 +658,7 @@
+ profiling='prof'
+ case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
+ amd64,*,linux) profiling='prof';;
+ power,*,bsd) profiling='prof';;
*) profiling='noprof';;
esac
-@@ -1044,6 +1048,7 @@ fi
+@@ -1113,6 +1115,7 @@
x11_include="not found"
x11_link="not found"
@@ -41,11 +26,11 @@ $NetBSD: patch-at,v 1.3 2005/01/24 21:18:16 tv Exp $
for dir in \
$x11_include_dir \
\
-@@ -1152,6 +1157,7 @@ do
+@@ -1159,6 +1162,7 @@
break
fi
done
+fi
-
- if test "$x11_include" = "not found" || test "$x11_link" = "not found"
+ if test "$x11_include" = "not found"; then
+ x11_try_lib_dir=''