Author: alexander
Date: 2006-07-14 03:09:15 -0600 (Fri, 14 Jul 2006)
New Revision: 1641
Modified:
trunk/packages/readline/Makefile
Log:
Updeted readline instructions
Modified: trunk/packages/readline/Makefile
===================================================================
--- trunk/packages/readline/Makefile 2006-07-14 09:04:05 UTC (rev 1640)
+++ trunk/packages/readline/Makefile 2006-07-14 09:09:15 UTC (rev 1641)
@@ -8,6 +8,10 @@
URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
SHA-$(FILE)= 4b2ee2bc9c6dd1d238c84a58f7e6db173600b850
+PATCH1= $(DIR)-fixes-3.patch
+URL-$(PATCH1)= $(HTTP)/$(NM)/$(PATCH1)
+SHA-$(PATCH1)= f58bbd80c7aed462ab7e97e3ac4eae7cd9d1b835
+
# Targets
include $(ROOT)/scripts/functions
@@ -16,18 +20,21 @@
chroot "$(MP)" $(chenv-pre-bash) \
'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
-stage2: Makefile $(FILE)
+stage2: Makefile $(FILE) $(PATCH1)
$(std_build)
- cp $(SRC)/$(FILE) $(LFSSRC)
+ cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC)
compile-stage2:
+ sed -i '/MV.*old/d' Makefile.in
+ sed -i '/{OLDSUFF}/c:' support/shlib-install
+ patch -Np1 -i ../$(PATCH1)
./configure --prefix=/usr --libdir=/lib
make $(PM) SHLIB_LIBS=-lncurses
make install
- chmod 755 /lib/lib{readline,history}.so*
- rm /lib/lib{readline,history}.so
- ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
- ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
+ chmod -v 755 /lib/lib{readline,history}.so*
+ rm -v /lib/lib{readline,history}.so
+ ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so
+ ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so
clean:
-rm -rf $(DIR)
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page