Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/database
In directory vz-cvs-3.sog:/tmp/cvs-serv3607

Modified Files:
        postgresql90.info postgresql91.info 
Log Message:
don't fail to build if extutils-parsexs-pm is installed


Index: postgresql90.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql90.info,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- postgresql90.info   19 Oct 2011 21:53:53 -0000      1.11
+++ postgresql90.info   21 Oct 2011 19:19:07 -0000      1.12
@@ -32,7 +32,18 @@
 
 Source: mirror:postgresql:source/v%v/postgresql-%v.tar.bz2
 Source-MD5: 80390514d568a7af5ab61db1cda27e29
-PatchScript: sed -e 's|@BUILDDIR@|%b|g' -e 's|@INSTPREFIX@|%p|g' < 
%{PatchFile} | patch -p1
+PatchScript: <<
+#!/bin/sh -ex
+       sed -e 's|@BUILDDIR@|%b|g' -e 's|@INSTPREFIX@|%p|g' < %{PatchFile} | 
patch -p1
+
+       # If we have fink ExtUtils::ParseXS, it is early in PERL5LIB;
+       # therefore we need the xsubpp program (also part of that
+       # pkg). Handcoded makefiles for perl modules are bad, m'kay?
+       fink_XSUBPP="%p/lib/perl5/ExtUtils/xsubpp"
+       if [ -x $fink_XSUBPP ]; then
+               perl -pi -e "s,\S+xsubpp,${fink_XSUBPP},g" 
src/pl/plperl/GNUmakefile
+       fi
+<<
 PatchFile: %n.patch
 PatchFile-MD5: 7c9ccbc8a0c66027b7bf6d0f5df6ad5a
 

Index: postgresql91.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql91.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- postgresql91.info   19 Oct 2011 21:53:53 -0000      1.2
+++ postgresql91.info   21 Oct 2011 19:19:07 -0000      1.3
@@ -32,7 +32,21 @@
 
 Source: mirror:postgresql:source/v%v/postgresql-%v.tar.bz2
 Source-MD5: 0497b9da1d7c380c340a9a87ba5500fe
-PatchScript: sed -e 's|@BUILDDIR@|%b|g' -e 's|@INSTPREFIX@|%p|g' -e 
's|@PGVERSION@|9.1|g' < %{PatchFile} | patch -p1
+PatchScript: <<
+#!/bin/sh -ex
+       sed -e 's|@BUILDDIR@|%b|g' -e 's|@INSTPREFIX@|%p|g' -e 
's|@PGVERSION@|9.1|g' < %{PatchFile} | patch -p1
+
+       # If we have fink ExtUtils::ParseXS, it is early in PERL5LIB;
+       # therefore we need the xsubpp program (also part of that
+       # pkg). Handcoded makefiles for perl modules are bad, m'kay?
+       fink_XSUBPP="%p/lib/perl5/ExtUtils/xsubpp"
+       if [ -x $fink_XSUBPP ]; then
+               perl -pi -e "s,\S+xsubpp,${fink_XSUBPP},g" 
src/pl/plperl/GNUmakefile
+       fi
+<<
+
+
+
 PatchFile: %n.patch
 PatchFile-MD5: ca800eba11497ef264f1ca93f9509f46
 


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to