mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
From 9332d4a9ebdc68e524de21d9696b2f01a351142f Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Wed, 28 Jun 2017 23:33:35 +0200
|
|
Subject: applying patch readline-7.0.patch
|
|
|
|
|
|
diff --git a/support/shlib-install b/support/shlib-install
|
|
index cfec3bd..33a6612 100755
|
|
--- a/support/shlib-install
|
|
+++ b/support/shlib-install
|
|
@@ -118,7 +118,7 @@ INSTALL_LINK2='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK2'
|
|
# Create symlinks to the installed library. This section is incomplete.
|
|
#
|
|
case "$host_os-$host_vendor" in
|
|
-*linux*|freebsd*-gentoo)
|
|
+*linux*|freebsd*-gentoo|haiku*)
|
|
# libname.so.M -> libname.so.M.N
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK2
|
|
if [ -z "$uninstall" ]; then
|
|
diff --git a/support/shobj-conf b/support/shobj-conf
|
|
index 1f64433..69f0693 100644
|
|
--- a/support/shobj-conf
|
|
+++ b/support/shobj-conf
|
|
@@ -123,7 +123,7 @@ sunos5*|solaris2*)
|
|
;;
|
|
|
|
# All versions of Linux (including Gentoo/FreeBSD) or the semi-mythical GNU Hurd.
|
|
-linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
|
|
+linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo|haiku*)
|
|
SHOBJ_CFLAGS=-fPIC
|
|
SHOBJ_LD='${CC}'
|
|
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
|
--
|
|
2.7.0
|
|
|
|
|
|
From 04f549414f3a1b44a9cf8adb80276a5ede2d2578 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Wed, 28 Jun 2017 23:44:47 +0200
|
|
Subject: fix requires = tinfo -> ncurses
|
|
|
|
|
|
diff --git a/readline.pc.in b/readline.pc.in
|
|
index fbfca8a..7584d83 100644
|
|
--- a/readline.pc.in
|
|
+++ b/readline.pc.in
|
|
@@ -7,6 +7,6 @@ Name: Readline
|
|
Description: Gnu Readline library for command line editing
|
|
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
|
Version: @LIBVERSION@
|
|
-Requires.private: tinfo
|
|
+Requires.private: ncurses
|
|
Libs: -L${libdir} -lreadline
|
|
Cflags: -I${includedir}/readline
|
|
--
|
|
2.7.0
|
|
|