Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv3153/main/finkinfo/libs/perlmods

Modified Files:
      Tag: pangocairo-branch
        dbd-mysql-pm.info 
Log Message:
merge from head (pangocairo-root-7)

Index: dbd-mysql-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/dbd-mysql-pm.info,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -d -r1.7.2.1 -r1.7.2.2
--- dbd-mysql-pm.info   7 Jan 2007 01:11:16 -0000       1.7.2.1
+++ dbd-mysql-pm.info   20 Jan 2007 15:53:59 -0000      1.7.2.2
@@ -35,8 +35,13 @@
 
 # Compile Phase:
 CompileScript: <<
+  #!/bin/sh -ev
+
+  # Need full path to perl
+  ABSPERL=`which perl%type_raw[perl]`
+       
   perl%type_raw[perl] Makefile.PL --nocatchstderr PERL=perl%type_raw[perl] 
PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] 
INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level 
INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] 
INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level 
INSTALLMAN1DIR=%p/share/man/man1 INSTALLMAN3DIR=%p/share/man/man3 
INSTALLSITEMAN1DIR=%p/share/man/man1 INSTALLSITEMAN3DIR=%p/share/man/man3 
INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin INSTALLSCRIPT=%p/bin
-  make
+  make ABSPERL="$ABSPERL"
 #  make test
 <<
 NoPerlTests: true
@@ -45,7 +50,12 @@
 UpdatePOD: true
 DocFiles: README MANIFEST INSTALL.html ChangeLog LICENSE
 InstallScript: <<
-  %{default_script}
+  #!/bin/sh -ev
+
+  # Need full path to perl
+  ABSPERL=`which perl%type_raw[perl]`
+       
+  %{default_script} ABSPERL="$ABSPERL"
   mv %i/share/man %i/lib/perl5/%type_raw[perl]
 <<
 
@@ -62,6 +72,9 @@
 Disabled default tests since 'make test' normally
 wouldn't pass: it needs a running mysql server
 Can't use default CompileScript on 10.3 so we can add --nocatchstderr (work 
around perl config bug)
+
+ABSPERL hack to make makemaker in perl 5.8.8 happy. It was using the wrong 
+ABSPERL path, pointing to the build directory instead of /sw/bin/perl...
 <<
 Homepage: http://search.cpan.org/dist/DBD-mysql
 <<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to