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-at28
1 files changed, 22 insertions, 6 deletions
diff --git a/lang/ocaml/patches/patch-at b/lang/ocaml/patches/patch-at
index ea6b6d22145..1effd54ca8f 100644
--- a/lang/ocaml/patches/patch-at
+++ b/lang/ocaml/patches/patch-at
@@ -1,8 +1,8 @@
-$NetBSD: patch-at,v 1.1 2004/04/22 09:18:39 tron Exp $
+$NetBSD: patch-at,v 1.2 2004/12/24 17:16:04 jmmv Exp $
---- configure.orig Wed Aug 7 14:45:00 2002
-+++ configure Thu Apr 22 10:34:37 2004
-@@ -528,6 +528,7 @@
+--- configure.orig 2002-08-07 14:45:00.000000000 +0200
++++ configure
+@@ -528,6 +528,7 @@ case "$host" in
rs6000-*-aix*) arch=power; model=rs6000; system=aix;;
powerpc-*-aix*) arch=power; model=ppc; system=aix;;
powerpc-*-linux*) arch=power; model=ppc; system=elf;;
@@ -10,7 +10,7 @@ $NetBSD: patch-at,v 1.1 2004/04/22 09:18:39 tron Exp $
powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody;;
arm*-*-linux*) arch=arm; system=linux;;
-@@ -591,6 +592,7 @@
+@@ -591,6 +592,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';;
@@ -18,7 +18,7 @@ $NetBSD: patch-at,v 1.1 2004/04/22 09:18:39 tron Exp $
power,*,rhapsody) ;;
arm,*,linux) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
ia64,*,linux) asflags=-xexplicit
-@@ -601,6 +603,7 @@
+@@ -601,6 +603,7 @@ case "$arch,$model,$system" in
alpha,*,digital) profiling='prof';;
i386,*,linux_elf) profiling='prof';;
i386,*,bsd_elf) profiling='prof';;
@@ -26,3 +26,19 @@ $NetBSD: patch-at,v 1.1 2004/04/22 09:18:39 tron Exp $
*) profiling='noprof';;
esac
+@@ -1044,6 +1047,7 @@ fi
+ x11_include="not found"
+ x11_link="not found"
+
++if test "$disable_x11" != "yes"; then
+ for dir in \
+ $x11_include_dir \
+ \
+@@ -1152,6 +1156,7 @@ do
+ break
+ fi
+ done
++fi
+
+
+ if test "$x11_include" = "not found" || test "$x11_link" = "not found"