]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/perl
Reiser4 Implementation abgeschlossen...
[ipfire-2.x.git] / lfs / perl
index 8b0d30a931d96dd68393ff3d359e1fcb7cc8fab1..2e4ba2d012586aed91be563af270fd1925b6b3e6 100644 (file)
--- a/lfs/perl
+++ b/lfs/perl
@@ -79,15 +79,21 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ifneq "$(ROOT)" ""
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-libc-2.patch
+endif
 ifeq "$(ROOT)" ""
-       cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \
-               -Dpager="/usr/bin/less -isR" -Dmyhostname=localhost
+       cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \
+               -Dman3dir=/usr/share/man/man3 -Dpager="/usr/bin/less -isR"
+       cd $(DIR_APP) && sed -i 's/^0$$//' makefile
+       cd $(DIR_APP) && sed -i 's/^0$$//' x2p/makefile
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 else
-       cd $(DIR_APP) && ./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX' -Dmyhostname=localhost
-       cd $(DIR_APP) && make $(MAKETUNING) perl utilities
+       cd $(DIR_APP) && ./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'
+       cd $(DIR_APP) && sed -i 's/^0$$//' makefile
+       cd $(DIR_APP) && sed -i 's/^0$$//' x2p/makefile
+       cd $(DIR_APP) && make perl utilities
        cd $(DIR_APP) && cp -v perl pod/pod2man /tools/bin
        cd $(DIR_APP) && mkdir -pv /tools/lib/perl5/$(VER)
        cd $(DIR_APP) && cp -Rv lib/* /tools/lib/perl5/$(VER)