From e96c649294fd763fa8631b866397a07b9434bbd3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 6 Jan 2014 10:01:31 +0100 Subject: add full perl, first half of supported archs --- package/perl/patches/patch-Configure | 65 ---------------------------------- package/perl/patches/patch-Makefile_SH | 31 ++++++++++++++++ 2 files changed, 31 insertions(+), 65 deletions(-) delete mode 100644 package/perl/patches/patch-Configure create mode 100644 package/perl/patches/patch-Makefile_SH (limited to 'package/perl/patches') diff --git a/package/perl/patches/patch-Configure b/package/perl/patches/patch-Configure deleted file mode 100644 index 953d03c5e..000000000 --- a/package/perl/patches/patch-Configure +++ /dev/null @@ -1,65 +0,0 @@ ---- perl-5.12.3.orig/Configure 2011-01-09 21:20:52.000000000 +0100 -+++ perl-5.12.3/Configure 2011-03-19 20:44:59.000000000 +0100 -@@ -5164,11 +5164,11 @@ default|recommended) - # is to add the flag to the flags passed to the compiler at link time, - # as that way the compiler can do the right implementation dependant - # thing. (NWC) -- case "$gccversion" in -- ?*) set stack-protector -fstack-protector -- eval $checkccflag -- ;; -- esac -+ #case "$gccversion" in -+ #?*) set stack-protector -fstack-protector -+ # eval $checkccflag -+ # ;; -+ #esac - ;; - esac - -@@ -5308,14 +5308,14 @@ case "$ldflags" in - *) dflt="$ldflags";; - esac - # See note above about -fstack-protector --case "$ccflags" in --*-fstack-protector*) -- case "$dflt" in -- *-fstack-protector*) ;; # Don't add it again -- *) dflt="$dflt -fstack-protector" ;; -- esac -- ;; --esac -+#case "$ccflags" in -+#*-fstack-protector*) -+# case "$dflt" in -+# *-fstack-protector*) ;; # Don't add it again -+# *) dflt="$dflt -fstack-protector" ;; -+# esac -+# ;; -+#esac - - : Try to guess additional flags to pick up local libraries. - for thislibdir in $libpth; do -@@ -8107,14 +8107,14 @@ EOM - ''|' ') dflt='none' ;; - esac - -- case "$ldflags" in -- *-fstack-protector*) -- case "$dflt" in -- *-fstack-protector*) ;; # Don't add it again -- *) dflt="$dflt -fstack-protector" ;; -- esac -- ;; -- esac -+# case "$ldflags" in -+# *-fstack-protector*) -+# case "$dflt" in -+# *-fstack-protector*) ;; # Don't add it again -+# *) dflt="$dflt -fstack-protector" ;; -+# esac -+# ;; -+# esac - - - rp="Any special flags to pass to $ld to create a dynamically loaded library?" diff --git a/package/perl/patches/patch-Makefile_SH b/package/perl/patches/patch-Makefile_SH new file mode 100644 index 000000000..cb947405f --- /dev/null +++ b/package/perl/patches/patch-Makefile_SH @@ -0,0 +1,31 @@ +--- perl-5.18.1.orig/Makefile.SH 2013-08-12 04:44:47.000000000 +0200 ++++ perl-5.18.1/Makefile.SH 2013-12-31 14:09:47.000000000 +0100 +@@ -665,9 +665,10 @@ bitcount.h: generate_uudmap$(HOST_EXE_EX + $(RUN) ./generate_uudmap$(HOST_EXE_EXT) $(generated_headers) + + generate_uudmap$(OBJ_EXT): mg_raw.h ++ $(CC_FOR_BUILD) -o generate_uudmap$(OBJ_EXT) -c generate_uudmap.c + + generate_uudmap$(HOST_EXE_EXT): generate_uudmap$(OBJ_EXT) +- $(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) $(libs) ++ $(CC_FOR_BUILD) -o generate_uudmap$(EXE_EXT) generate_uudmap$(OBJ_EXT) $(libs) + + miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h + $(CCCMD) $(PLDLFLAGS) $*.c +@@ -881,7 +882,6 @@ $(MINIPERL_EXE): $& $(mini_obj) + -@rm -f miniperl.xok + $(LDLIBPTH) $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \ + $(mini_obj) $(libs) +- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '' || $(MAKE) minitest + !NO!SUBS! + ;; + esac +@@ -1058,7 +1058,7 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li + # But also this ensures that all extensions are built before we try to scan + # them, which picks up Devel::PPPort's documentation. + pod/perltoc.pod: $(perltoc_pod_prereqs) $(PERL_EXE) $(ext) pod/buildtoc +- $(RUN_PERL) -f -Ilib pod/buildtoc -q ++ #$(RUN_PERL) -f -Ilib pod/buildtoc -q + + pod/perlapi.pod: pod/perlintern.pod + -- cgit v1.2.3