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

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


Index: postgresql84.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql84.info,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- postgresql84.info   19 Jul 2011 04:27:20 -0000      1.11
+++ postgresql84.info   21 Oct 2011 21:22:42 -0000      1.12
@@ -33,7 +33,18 @@
 
 Source: mirror:postgresql:source/v%v/postgresql-%v.tar.bz2
 Source-MD5: 4603e8ea30cee97189b62b39022f2043
-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: e42fbdad63059b801b016b33742f1512
 


------------------------------------------------------------------------------
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