From: Michael Tremer Date: Sun, 10 Jan 2010 15:25:30 +0000 (+0100) Subject: toolchain: Perl is not built with symlinked sources. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b681c2524ce0e1551f3dfdc515b764a12f1490a3;p=ipfire-3.x.git toolchain: Perl is not built with symlinked sources. Didn't work as expected. --- diff --git a/pkgs/toolchain/perl/perl.nm b/pkgs/toolchain/perl/perl.nm index 9ca0313c4..8f56b6053 100644 --- a/pkgs/toolchain/perl/perl.nm +++ b/pkgs/toolchain/perl/perl.nm @@ -8,27 +8,21 @@ PKG_PATCHES = $(THISAPP)-libc-1.patch STAGE_PREPARE_CMDS = define STAGE_BUILD - -mkdir -pv $(DIR_SRC)/perl-build - - # -Dlibc, locincpth, loclibpth, glibpth, and usrinc, are equivilent to the LFS - # Perl libc patch. - # ./Configure is used instead of ./configure.gnu because it supports builds # from an object directory. -Dmksymlinks is also used, to support read-only # sources. -d -e are added to accept all defaults, otherwise ./Configure will # be interactive. - cd $(DIR_SRC)/perl-build && \ + cd $(DIR_APP) && \ $(DIR_APP)/Configure \ -Dprefix=$(TOOLS_DIR) \ -Dstatic_ext="Data/Dumper Fcntl IO POSIX" \ - -Dmksymlinks \ -d -e -s - cd $(DIR_SRC)/perl-build && make perl utilities ext/Errno/pm_to_blib #$(PARALLELISMFLAGS) + cd $(DIR_APP) && make perl utilities ext/Errno/pm_to_blib #$(PARALLELISMFLAGS) endef define STAGE_INSTALL - cd $(DIR_SRC)/perl-build && cp -vf perl pod/pod2man $(TOOLS_DIR)/bin/ + cd $(DIR_APP) && cp -vf perl pod/pod2man $(TOOLS_DIR)/bin/ -mkdir -pv $(TOOLS_DIR)/lib/perl5/$(PKG_VER) cd $(DIR_APP) && cp -Rvf lib/* $(TOOLS_DIR)/lib/perl5/$(PKG_VER) endef