Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14314

Modified Files:
        tk-tablematrix-pm.info 
Added Files:
        tk-tablematrix-pm.patch 
Log Message:
don't override default compilescript with its binary magic; clean up (uniquify) 
support files afterwards; also avoid spawning sub-perl process


--- NEW FILE: tk-tablematrix-pm.patch ---
diff -Nurd -x'*~' Tk-TableMatrix-1.23.orig/Makefile.PL 
Tk-TableMatrix-1.23/Makefile.PL
--- Tk-TableMatrix-1.23.orig/Makefile.PL        2007-01-11 21:26:31.000000000 
-0500
+++ Tk-TableMatrix-1.23/Makefile.PL     2010-08-09 05:18:46.000000000 -0400
@@ -25,7 +25,10 @@
 use Tk::MMutil;
 
 # Get existing tk version for figuring
-$tkversion = eval 'use Tk; $Tk::VERSION;';
+{
+    require Tk;
+    $tkversion = $Tk::VERSION;
+}
 #print "################tkversion = $tkversion\n";
 
 my $mydefine ='';

Index: tk-tablematrix-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/tk-tablematrix-pm.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- tk-tablematrix-pm.info      16 Jul 2010 18:45:00 -0000      1.8
+++ tk-tablematrix-pm.info      9 Aug 2010 09:32:29 -0000       1.9
@@ -10,7 +10,9 @@
 <<
 ###
 Depends: perl%type_pkg[perl]-core, tk-pm%type_pkg[perl] (>= 804.026-10)
-BuildDepends: tk-pm%type_pkg[perl] (>= 804.026-10)
+BuildDepends: <<
+       fink (>= 0.24.12)
+<<
 ###
 Source: mirror:cpan:authors/id/C/CE/CERNEY/Tk-TableMatrix-%v.tar.gz
 Source-MD5: 6b7653d129bf1a8327054a88b58d6364
@@ -19,12 +21,15 @@
 UpdatePOD: true
 NoPerlTests: true
 ###
+PatchFile: %{ni}.patch
+PatchFile-MD5: 6f3347175b527f1000ceefeef4ae0ddf
+###
 CompileScript: <<
-  perl%type_raw[perl] Makefile.PL %c
+       %{default_script}
   ### Fix stupidity
   perl -pi.bak -e 's,extralibs.ld,extralibs-%n.ld,g' Makefile
   perl -pi.bak -e 's,extralibs.ld,extralibs-%n.ld,g' pTk/Makefile
-  make
+  mv blib/arch/auto/Tk/pTk/extralibs{,-%n}.ld 
 <<
 ###
 InstallScript: <<


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to