]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
toolchain: Perl is not built with symlinked sources.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Jan 2010 15:25:30 +0000 (16:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Jan 2010 15:25:30 +0000 (16:25 +0100)
Didn't work as expected.

pkgs/toolchain/perl/perl.nm

index 9ca0313c46b3b642284904cbb057f590837aeb23..8f56b6053a690c32545a23c5b5e07c7b8a58bd69 100644 (file)
@@ -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