tags 509919 + patch
thanks

On 2009-08-30 20:01 +0200, Sven Joachim wrote:

> It seems this is not necessary after all. :-) We can configure the
> Debian package with "--with-default-terminfo-dir=/usr/share/terminfo"
> instead.  Since we're also configuring with
>
> --with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo"
>
> , this does not affect the directory search order at runtime,
> /etc/terminfo still is looked at before the other directories.

For the reference, here is the patch to debian/rules:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/rules b/debian/rules
index e7712a6..191b646 100755
--- a/debian/rules
+++ b/debian/rules
@@ -99,7 +99,7 @@ CONFARGS =    --prefix=/usr \
                --with-chtype='long' \
                --with-mmask-t='long' \
                --disable-termcap \
-               --with-default-terminfo-dir=/etc/terminfo \
+               --with-default-terminfo-dir=/usr/share/terminfo \
                
--with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo" \
                --with-ticlib
 
@@ -301,9 +301,6 @@ endif
        $(MAKE) -C $(objdir) install.libs
        $(MAKE) -C $(wobjdir) install.libs
 
-       # Move terminfo files to the right place.
-       mv $(tempdir)/etc/terminfo $(tempdir)/usr/share/terminfo
-
        # Remove blacklisted terminal types.
        cd $(tempdir)/usr/share/terminfo && rm -f $(badterminfo)
 
--8<---------------cut here---------------end--------------->8---

Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to