r90 - trunk/packages/ncurses

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun Apr 17 14:00:52 PDT 2005


Author: jhuntwork
Date: 2005-04-17 15:00:51 -0600 (Sun, 17 Apr 2005)
New Revision: 90

Modified:
   trunk/packages/ncurses/Makefile
Log:
Added patch for ncurses to work with -luit (Alexander Patrakov)

Modified: trunk/packages/ncurses/Makefile
===================================================================
--- trunk/packages/ncurses/Makefile	2005-04-17 20:53:08 UTC (rev 89)
+++ trunk/packages/ncurses/Makefile	2005-04-17 21:00:51 UTC (rev 90)
@@ -5,7 +5,9 @@
 VRS= 5.4
 DIR= $(NM)-$(VRS)
 FILE= $(DIR).tar.bz2
+PATCH= $(DIR)-20050320.patch
 URL= $(FTP)/$(NM)/$(FILE)
+URL1= ftp://invisible-island.net/ncurses/5.4/$(PATCH).gz
 
 # RULES
 
@@ -31,7 +33,10 @@
 	@echo ""
 	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
 	 mv $(FILE) $(SRC) ; fi
-	@if [ ! -f /usr/bin/clear ] ; then tar xjvf $(SRC)/$(FILE) && cd $(DIR) && \
+	@if [ ! -f $(PATCH) ] ; then $(WGET) $(URL) ; fi
+	@if [ ! -f /usr/bin/clear ] ; then tar xjvf $(SRC)/$(FILE) && \
+	 gunzip $(PATCH).gz && cd $(DIR) && \
+	 patch -Np1 -i ../$(PATCH) && \
 	 ./configure --prefix=/usr --with-shared --without-debug && \
 	 make sources && make -j3 && make install && chmod 755 /usr/lib/*.5.4 && \
 	 chmod 644 /usr/lib/libncurses++.a && mv /usr/lib/libncurses.so.5* /lib && \




More information about the livecd mailing list