Author: alexander
Date: 2005-05-14 22:08:05 -0600 (Sat, 14 May 2005)
New Revision: 170
Modified:
trunk/packages/popt/Makefile
Log:
Avoid re-downloading popt patch over and over again
Modified: trunk/packages/popt/Makefile
===================================================================
--- trunk/packages/popt/Makefile 2005-05-15 04:01:27 UTC (rev 169)
+++ trunk/packages/popt/Makefile 2005-05-15 04:08:05 UTC (rev 170)
@@ -21,8 +21,8 @@
@echo "=====> Building $(NM) in chroot"
@echo ""
@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
- @if [ ! -f $(PATCH1).gz ] ; then $(WGET) $(URL1) ; fi
- @if [ ! -f $(PATCH1) ] ; then gunzip $(PATCH1).gz ; fi
+ @if [ ! -f $(PATCH1) ] ; then $(WGET) $(URL1) && \
+ gunzip $(PATCH1).gz ; fi
@if [ ! -f /usr/lib/libpopt.a ] ; then tar xzvf $(FILE) && cd $(DIR) &&
\
patch -Np1 -i ../$(PATCH1) && \
./configure --prefix=/usr && \
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page