summaryrefslogtreecommitdiff
path: root/devel/ocaml-sdl/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-sdl/files')
-rw-r--r--devel/ocaml-sdl/files/patch-configure35
-rw-r--r--devel/ocaml-sdl/files/patch-makefile.config.gcc.in9
2 files changed, 9 insertions, 35 deletions
diff --git a/devel/ocaml-sdl/files/patch-configure b/devel/ocaml-sdl/files/patch-configure
deleted file mode 100644
index 767d2114a6d8..000000000000
--- a/devel/ocaml-sdl/files/patch-configure
+++ /dev/null
@@ -1,35 +0,0 @@
---- configure.orig Tue Jun 1 09:27:55 2004
-+++ configure Tue Jun 1 09:28:03 2004
-@@ -2652,19 +2652,19 @@
- fi;
- echo "$as_me:$LINENO: checking lablGL directory" >&5
- echo $ECHO_N "checking lablGL directory... $ECHO_C" >&6
--TMPF=conftest.ml
--cat > $TMPF << EOF
--open Gl
--EOF
--_LABLGLDIR=$LABLGLDIR
--unset LABLGLDIR
--for dir in $_LABLGLDIR +lablGL ; do
-- if $OCAMLC -c -I $dir $TMPF >& /dev/null ; then
-- LABLGLDIR="$dir"
-- break
-- fi
--done
--rm -f $TMPF
-+#TMPF=conftest.ml
-+#cat > $TMPF << EOF
-+#open Gl
-+#EOF
-+#_LABLGLDIR=$LABLGLDIR
-+#unset LABLGLDIR
-+#for dir in $_LABLGLDIR +lablGL ; do
-+# if $OCAMLC -c -I $dir $TMPF >& /dev/null ; then
-+# LABLGLDIR="$dir"
-+# break
-+# fi
-+#done
-+#rm -f $TMPF
- if test -n $LABLGLDIR ; then
- echo "$as_me:$LINENO: result: $LABLGLDIR" >&5
- echo "${ECHO_T}$LABLGLDIR" >&6
diff --git a/devel/ocaml-sdl/files/patch-makefile.config.gcc.in b/devel/ocaml-sdl/files/patch-makefile.config.gcc.in
new file mode 100644
index 000000000000..606d46ea00bc
--- /dev/null
+++ b/devel/ocaml-sdl/files/patch-makefile.config.gcc.in
@@ -0,0 +1,9 @@
+--- makefile.config.gcc.in.orig Wed Aug 18 15:51:25 2004
++++ makefile.config.gcc.in Wed Aug 18 15:52:03 2004
+@@ -44,5 +44,5 @@
+
+ MKCMA = $(OCAMLMKLIB) -v -o $(1) -oc $(2) $(3) $(4)
+ MKCMXA = $(OCAMLMKLIB) -v -o $(1) -oc $(2) $(3) $(4)
+-MKCLIB = $(OCAMLMKLIB) -v -o $(1) -oc $(2) $(3) $(4)
++MKCLIB = $(OCAMLMKLIB) -v -o $(1) -L${LOCALBASE}/lib -oc $(2) $(3) $(4)
+ endif