]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- This patch fixes detecting library providing termcap functions,
authorSzymon Siwek <sls@pld-linux.org>
Thu, 23 Nov 2006 05:13:45 +0000 (05:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  so packages using ocaml have no problem with as-needed flag

Changed files:
    ocaml-as_needed.patch -> 1.1

ocaml-as_needed.patch [new file with mode: 0644]

diff --git a/ocaml-as_needed.patch b/ocaml-as_needed.patch
new file mode 100644 (file)
index 0000000..53f2c8f
--- /dev/null
@@ -0,0 +1,11 @@
+--- ocaml-3.09.2/configure.orig        2006-11-23 03:30:41.000000000 +0000
++++ ocaml-3.09.2/configure     2006-11-23 03:31:14.000000000 +0000
+@@ -751,7 +751,7 @@
+ # For the terminfo module
+ if test "$withcurses" = "yes"; then
+-  for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
++  for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
+     if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
+       echo "termcap functions found (with libraries '$libs')"
+       echo "#define HAS_TERMCAP" >> s.h
This page took 0.035725 seconds and 4 git commands to generate.