summaryrefslogtreecommitdiffstats
path: root/src/readline.mk
diff options
context:
space:
mode:
authorMartin Lambers <marlam@marlam.de>2015-01-21 20:01:48 (GMT)
committerMartin Lambers <marlam@marlam.de>2015-01-25 07:30:49 (GMT)
commit9da60dc36821e637603fd9c7b6cbb0543f42df9e (patch)
tree2e50fd146108fdd8ae7ddd3322d93a84a5d4597c /src/readline.mk
parent4ece94bda104fb9301058e319d722037fe28792a (diff)
downloadmxe-9da60dc36821e637603fd9c7b6cbb0543f42df9e.zip
mxe-9da60dc36821e637603fd9c7b6cbb0543f42df9e.tar.gz
mxe-9da60dc36821e637603fd9c7b6cbb0543f42df9e.tar.bz2
Add package termcap, and make readline use it instead of pdcurses.
This fixes runtime problems with applications using readline.
Diffstat (limited to 'src/readline.mk')
-rw-r--r--src/readline.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/readline.mk b/src/readline.mk
index 6abf369..a2ebc58 100644
--- a/src/readline.mk
+++ b/src/readline.mk
@@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 017b92dc7fd4e636a2b5c9265a77ccc05798c9e1
$(PKG)_SUBDIR := readline-$($(PKG)_VERSION)
$(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc pdcurses
+$(PKG)_DEPS := gcc termcap
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \
@@ -23,7 +23,6 @@ define $(PKG)_BUILD
$(MXE_CONFIGURE_OPTS) \
--enable-multibyte \
--without-purify \
- --with-curses \
- LIBS='-lcurses'
- $(MAKE) -C '$(1)' -j '$(JOBS)' install $(if $(BUILD_STATIC),SHARED_LIBS=,SHLIB_LIBS='-lcurses')
+ --without-curses
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
endef