Author: chris
Date: Mon May  4 17:27:44 2009
New Revision: 294

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=294&repname=user%3a+chris>
Log:
fixed /usr/bin from system perl

Modified:
    trunk/finkinfo/libs/speedy-cgi-perl.info

Modified: trunk/finkinfo/libs/speedy-cgi-perl.info
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/finkinfo/libs/speedy-cgi-perl.info&rev=294&repname=user%3a+chris>
==============================================================================
--- trunk/finkinfo/libs/speedy-cgi-perl.info (original)
+++ trunk/finkinfo/libs/speedy-cgi-perl.info Mon May  4 17:27:44 2009
@@ -15,20 +15,23 @@
   patch -p1 < %{PatchFile}
   cat debian/patches/*dpatch | patch -p1
   perl -pi -e 's/PerlInterpreter/extern PerlInterpreter/' src/speedy_perl.h
+  grep -rl /usr/bin/speedy . | xargs perl -pi -e 
's|/usr/bin/speedy|%p/bin/speedy|'
 <<
 
 UpdatePOD: true
 NoPerlTests: true
 ###
 CompileScript: <<
-  echo no | ARCHFLAGS="" perl Makefile.PL
+  echo no | ARCHFLAGS="" PREFIX="%p" perl Makefile.PL
 
   # rebuild these because the source is patched
-  ARCHFLAGS="" make README README.html lib/CGI/SpeedyCGI.pm
+  ARCHFLAGS="" PREFIX="%p" make README README.html lib/CGI/SpeedyCGI.pm
 
   # hack: rerun so it picks up lib/CGI/SpeedyCGI.pm again
-  echo no | ARCHFLAGS="" perl Makefile.PL
+  echo no | ARCHFLAGS="" PREFIX="%p" perl Makefile.PL
   
+  grep -rlI /usr/bin/speedy . | xargs perl -pi -e 
's|/usr/bin/speedy|%p/bin/speedy|'
+
   ARCHFLAGS="" make OPTIMIZE="-Os -I%p/include -D_GNU_SOURCE" 
OTHERLDFLAGS="-L%p/lib"
 
   # ARCHFLAGS="" make -C speedy test


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to