diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 10:01:31 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 10:01:31 +0100 |
commit | e96c649294fd763fa8631b866397a07b9434bbd3 (patch) | |
tree | 45d78f43ec9583b2d07db4c195484d26692ab0a0 /package/perl/patches | |
parent | 5e23c8034176a0c338efc3ef23f8d7e227e58322 (diff) |
add full perl, first half of supported archs
Diffstat (limited to 'package/perl/patches')
-rw-r--r-- | package/perl/patches/patch-Configure | 65 | ||||
-rw-r--r-- | package/perl/patches/patch-Makefile_SH | 31 |
2 files changed, 31 insertions, 65 deletions
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 + |