]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Updated xfsprogs and we compile the STATIC. Args.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 1 Feb 2009 15:06:12 +0000 (16:06 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 1 Feb 2009 15:06:12 +0000 (16:06 +0100)
lfs/xfsprogs

index b41475d5f924ecfa1de2ede9ee6fb74378dfd5fe..f9b3200ca939977a6744d78859c5e80bd70a3b23 100644 (file)
 include Config
 
 PKG_NAME   = xfsprogs
-VER        = 2.10.1
+VER        = 2.10.2
 
 THISAPP    = $(PKG_NAME)-$(VER)
-DL_FILE    = $(THISAPP)-1.tar.gz
+DL_FILE    = $(THISAPP)-1.tar.bz2
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
@@ -37,7 +37,8 @@ OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) \
+       $(THISAPP)-parallel-build.patch
 
 info:
        $(DO_PKG_INFO)
@@ -55,7 +56,10 @@ $(objects) :
 
 $(OBJECT) : 
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np2 -i $(DIR_PATCHES)/$(THISAPP)-parallel-build.patch
+       # XXX We compile xfsprogs STATIC at the moment because there is a bug with
+       # installation of the shared libs (may be it is libtool's fault).
        cd $(DIR_APP) && DEBUG=-DNDEBUG \
                ./configure \
                        $(CONFIGURE_ARCH) \
@@ -64,7 +68,7 @@ $(OBJECT) :
                        --sbindir=/sbin \
                        --libdir=/lib \
                        --libexecdir=/usr/lib \
-                       --enable-readline=yes
+                       --enable-shared=no
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install #install-dev
        chmod -v 755 /lib/libhandle.so*