summaryrefslogtreecommitdiff
path: root/lang/mercury/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mercury/patches/patch-at')
-rw-r--r--lang/mercury/patches/patch-at19
1 files changed, 14 insertions, 5 deletions
diff --git a/lang/mercury/patches/patch-at b/lang/mercury/patches/patch-at
index fb2bfbd2d60..c02c8c48852 100644
--- a/lang/mercury/patches/patch-at
+++ b/lang/mercury/patches/patch-at
@@ -1,11 +1,11 @@
-$NetBSD: patch-at,v 1.4 2015/07/30 19:34:40 asau Exp $
+$NetBSD: patch-at,v 1.5 2015/12/26 11:58:19 joerg Exp $
Support shared libraries.
Don't capture value of HOME.
---- configure.orig 2014-09-08 08:56:03.000000000 +0400
-+++ configure 2015-07-30 22:18:33.000000000 +0300
-@@ -1514,7 +1514,7 @@
+--- configure.orig 2014-09-08 04:56:03.000000000 +0000
++++ configure
+@@ -1514,7 +1514,7 @@ Installation directories:
By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
@@ -14,7 +14,7 @@ Don't capture value of HOME.
For better control, use the options below.
-@@ -11481,7 +11481,7 @@
+@@ -11481,7 +11481,7 @@ $as_echo "yes" >&6; }
EXT_FOR_SHARED_LIB=so
EXT_FOR_LINK_WITH_PIC_OBJECTS=o
;;
@@ -23,3 +23,12 @@ Don't capture value of HOME.
# From Cornelis van der Laan <nils@ims.uni-stuttgart.de>
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
+@@ -13143,7 +13143,7 @@ if test $mercury_cv_have_readline = no;
+
+ else
+ TERMCAP_LIBRARY="$mercury_cv_termcap_lib"
+- READLINE_LIBRARIES="-lreadline $TERMCAP_LIBRARY"
++ READLINE_LIBRARIES="-L${READLINE_PREFIX}/lib ${LINKER_RPATH_FLAG}${READLINE_PREFIX}/lib -lreadline $TERMCAP_LIBRARY"
+ fi
+
+