| 1 |
diff -rc perl5.004.orig/Configure perl5.004/Configure |
| 2 |
*** perl5.004.orig/Configure 1997-05-13 18:20:34.000000000 +0100 |
| 3 |
--- perl5.004/Configure 2003-04-26 16:36:53.000000000 +0100 |
| 4 |
*************** |
| 5 |
*** 188,193 **** |
| 6 |
--- 188,194 ---- |
| 7 |
mv='' |
| 8 |
nroff='' |
| 9 |
perl='' |
| 10 |
+ perllibs='' |
| 11 |
pg='' |
| 12 |
pmake='' |
| 13 |
pr='' |
| 14 |
*************** |
| 15 |
*** 9902,9907 **** |
| 16 |
--- 9903,9916 ---- |
| 17 |
shift |
| 18 |
extensions="$*" |
| 19 |
|
| 20 |
+ : Remove libraries needed only for extensions |
| 21 |
+ : The appropriate ext/Foo/Makefile.PL will add them back in, if |
| 22 |
+ : necessary. |
| 23 |
+ set X `echo " $libs " | |
| 24 |
+ sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'` |
| 25 |
+ shift |
| 26 |
+ perllibs="$*" |
| 27 |
+ |
| 28 |
: Remove build directory name from cppstdin so it can be used from |
| 29 |
: either the present location or the final installed location. |
| 30 |
echo " " |
| 31 |
*************** |
| 32 |
*** 10370,10375 **** |
| 33 |
--- 10379,10385 ---- |
| 34 |
patchlevel='$patchlevel' |
| 35 |
path_sep='$path_sep' |
| 36 |
perl='$perl' |
| 37 |
+ perllibs='$perllibs' |
| 38 |
perladmin='$perladmin' |
| 39 |
perlpath='$perlpath' |
| 40 |
pg='$pg' |
| 41 |
diff -rc perl5.004.orig/Makefile.SH perl5.004/Makefile.SH |
| 42 |
*** perl5.004.orig/Makefile.SH 1997-05-01 15:22:39.000000000 +0100 |
| 43 |
--- perl5.004/Makefile.SH 2003-04-26 16:37:23.000000000 +0100 |
| 44 |
*************** |
| 45 |
*** 119,125 **** |
| 46 |
ext = \$(dynamic_ext) \$(static_ext) |
| 47 |
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT) |
| 48 |
|
| 49 |
! libs = $libs $cryptlib |
| 50 |
|
| 51 |
public = perl $suidperl utilities translators |
| 52 |
|
| 53 |
--- 119,125 ---- |
| 54 |
ext = \$(dynamic_ext) \$(static_ext) |
| 55 |
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT) |
| 56 |
|
| 57 |
! libs = $perllibs $cryptlib |
| 58 |
|
| 59 |
public = perl $suidperl utilities translators |
| 60 |
|
| 61 |
diff -rc perl5.004.orig/myconfig perl5.004/myconfig |
| 62 |
*** perl5.004.orig/myconfig 1996-12-21 01:13:20.000000000 +0000 |
| 63 |
--- perl5.004/myconfig 2003-04-26 16:37:51.000000000 +0100 |
| 64 |
*************** |
| 65 |
*** 35,41 **** |
| 66 |
Linker and Libraries: |
| 67 |
ld='$ld', ldflags ='$ldflags' |
| 68 |
libpth=$libpth |
| 69 |
! libs=$libs |
| 70 |
libc=$libc, so=$so |
| 71 |
useshrplib=$useshrplib, libperl=$libperl |
| 72 |
Dynamic Linking: |
| 73 |
--- 35,41 ---- |
| 74 |
Linker and Libraries: |
| 75 |
ld='$ld', ldflags ='$ldflags' |
| 76 |
libpth=$libpth |
| 77 |
! libs=$perllibs |
| 78 |
libc=$libc, so=$so |
| 79 |
useshrplib=$useshrplib, libperl=$libperl |
| 80 |
Dynamic Linking: |
| 81 |
diff -rc perl5.004.orig/patchlevel.h perl5.004/patchlevel.h |
| 82 |
*** perl5.004.orig/patchlevel.h 1997-05-15 23:15:17.000000000 +0100 |
| 83 |
--- perl5.004/patchlevel.h 2003-04-26 16:38:11.000000000 +0100 |
| 84 |
*************** |
| 85 |
*** 38,43 **** |
| 86 |
--- 38,44 ---- |
| 87 |
*/ |
| 88 |
static char *local_patches[] = { |
| 89 |
NULL |
| 90 |
+ ,"NODB-1.0 - remove -ldb from core perl binary." |
| 91 |
,NULL |
| 92 |
}; |
| 93 |
|