summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Kranjc2007-06-10 12:12:25 +0200
committerJaka Kranjc2007-06-10 12:12:25 +0200
commitae8f76a304ba53161ee001bd6c9fc98213714afd (patch)
tree69e51b3faa35a1b12e89cc42c06c4db069c6c294
parent3dd2f638ff5a24b2fa0e1bcaf80aeed4515df9e5 (diff)
ncurses: #13731 - don't wipe the terminfo database
(cherry picked from commit 550998dd74d75e9700fa546b825324c80ef0c716) Conflicts: libs/ncurses/HISTORY
-rw-r--r--libs/ncurses/HISTORY3
-rwxr-xr-xlibs/ncurses/PRE_BUILD5
2 files changed, 8 insertions, 0 deletions
diff --git a/libs/ncurses/HISTORY b/libs/ncurses/HISTORY
index 5a1a68b488..f21668ebc4 100644
--- a/libs/ncurses/HISTORY
+++ b/libs/ncurses/HISTORY
@@ -1,3 +1,6 @@
+2007-06-10 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * PRE_BUILD: added for #13731 - don't wipe the terminfo database
+
2007-01-14 George Sherwood <george@beernabeer.com>
* INSTALL: Implement solutions in bug #13408.
diff --git a/libs/ncurses/PRE_BUILD b/libs/ncurses/PRE_BUILD
new file mode 100755
index 0000000000..ba6a790be6
--- /dev/null
+++ b/libs/ncurses/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+
+# don't nuke the terminfo database #13731
+sed -i '/rm -rf $(DESTDIR)$(ticdir)/d' $SOURCE_DIRECTORY/misc/Makefile.in &&
+sed -i '/rm -fr ?/d' $SOURCE_DIRECTORY/misc/run_tic.in