aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-04-07 03:40:07 +0800
committerstas <stas@FreeBSD.org>2009-04-07 03:40:07 +0800
commit1adc597c19e8e8501ef9b308a66916c12fd4a358 (patch)
tree0254d1eceea86eed2dce2bdc820bae1ff6a0041d
parente5adbb361e6ec3aae01b6aff881a43abcd82df0c (diff)
downloadfreebsd-ports-gnome-1adc597c19e8e8501ef9b308a66916c12fd4a358.tar.gz
freebsd-ports-gnome-1adc597c19e8e8501ef9b308a66916c12fd4a358.tar.zst
freebsd-ports-gnome-1adc597c19e8e8501ef9b308a66916c12fd4a358.zip
- Make ocaml to find tk again.
-rw-r--r--lang/ocaml/files/patch-configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/ocaml/files/patch-configure b/lang/ocaml/files/patch-configure
index debe9ffa8913..3d3fc9eb03d1 100644
--- a/lang/ocaml/files/patch-configure
+++ b/lang/ocaml/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig 2008-01-04 16:26:38.000000000 +0300
-+++ configure 2008-04-06 23:16:20.000000000 +0400
++++ configure 2009-04-06 23:35:00.000000000 +0400
@@ -79,6 +79,8 @@
withcurses=no;;
-no-shared-libs)
@@ -153,3 +153,12 @@
else
echo "Location of X11 include files: $x11_include/X11"
echo "Options for linking with X11: $x11_link"
+@@ -1372,7 +1275,7 @@
+ then tk_libs="$tk_libs $dllib"
+ elif sh ./hasgot $tk_libs -ltcl$tclmaj.$tclmin $tkauxlibs Tcl_DoOneEvent
+ then
+- tk_libs="$tk_libs -ltk$tkmaj.$tkmin -ltcl$tclmaj.$tclmin $dllib"
++ tk_libs="$tk_libs -ltk$tkmaj$tkmin -ltcl$tclmaj.$tclmin $dllib"
+ elif sh ./hasgot $tk_libs -ltcl$tclmaj$tclmin $tkauxlibs Tcl_DoOneEvent
+ then
+ tk_libs="$tk_libs -ltk$tkmaj$tkmin -ltcl$tclmaj$tclmin $dllib"