Change 21783 by [EMAIL PROTECTED] on 2003/11/24 21:24:46 Subject: remove hardcoded version number from cygwin/perlld.in From: Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> Date: Mon, 24 Nov 2003 08:11:36 -0800 Message-ID: <[EMAIL PROTECTED]>
Affected files ... ... //depot/perl/cygwin/Makefile.SHs#15 edit ... //depot/perl/cygwin/perlld.in#11 edit Differences ... ==== //depot/perl/cygwin/Makefile.SHs#15 (text) ==== Index: perl/cygwin/Makefile.SHs --- perl/cygwin/Makefile.SHs#14~14453~ Sun Jan 27 14:36:08 2002 +++ perl/cygwin/Makefile.SHs Mon Nov 24 13:24:46 2003 @@ -53,8 +53,9 @@ # perlld parameters # -# this one is pretty mandatory +# these ones are mandatory DLLWRAP = 'dllwrap' +VERSION = '$version' # following are optional. WRAPDRIVER = gcc @@ -73,7 +74,7 @@ -e s,@WRAPDRIVER@,\${WRAPDRIVER},g -e s,@DLLTOOL@,\${DLLTOOL},g \\ -e s,@AS@,\${AS},g -e s,@EXPORT_ALL@,\${EXPORT_ALL},g \\ -e s,@DEF_EXT@,\${DEF_EXT},g -e s,@EXP_EXT@,\${EXP_EXT},g \\ - -e s,@LIB_EXT@,\${LIB_EXT},g \\ + -e s,@LIB_EXT@,\${LIB_EXT},g -e s,@VERSION@,\${VERSION},g \\ ${src}/cygwin/perlld.in >perlld !GROK!THIS! ==== //depot/perl/cygwin/perlld.in#11 (text) ==== Index: perl/cygwin/perlld.in --- perl/cygwin/perlld.in#10~19623~ Mon May 26 04:19:38 2003 +++ perl/cygwin/perlld.in Mon Nov 24 13:24:46 2003 @@ -46,7 +46,8 @@ $path =~ s,[/\\](\.[/\\])*,/,g; } if ($dllname =~ /\./) { $libname =$`; } else { $libname =$dllname; }; - my $v_e_r_s = '5_9_0'; + my $v_e_r_s = '@VERSION@'; + $v_e_r_s =~ tr/./_/; if ( $dllname =~ /libperl.*/) { $dllname ="cygperl$v_e_r_s.dll"; } else { End of Patch.