Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9983
Modified Files:
sdl-pm.info
Added Files:
sdl-pm.patch
Log Message:
author's patch to build during build instead of requiring self-test stage
Index: sdl-pm.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/sdl-pm.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sdl-pm.info 6 Aug 2010 20:36:19 -0000 1.2
+++ sdl-pm.info 9 Aug 2010 15:59:53 -0000 1.3
@@ -30,7 +30,10 @@
sdl-ttf-shlibs,
tie-simple-pm
<<
+PatchFile: %{ni}.patch
+PatchFile-MD5: 51ab465add71c2932e5cf2c93a6490aa
PatchScript: <<
+ %{default_script}
perl -pi -e 's/SDL_Pango.h/SDL_Pango_FINK_DOES_NOT_DETECT_THIS_NOW.h/'
Build.PL
<<
CompileScript: <<
@@ -54,28 +57,18 @@
<<
InfoTest: <<
TestScript: <<
- echo "Testing automatically done during build for now."
+ #!/bin/sh -ex
+ perlversion=%type_raw[perl]
+ if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [
"%m" != "powerpc" ]; then
+ export FULLPERL="/usr/bin/arch -%m perl$perlversion"
+ fi
+ ./Build test || exit 2
<<
-# #!/bin/sh -ex
-# perlversion=%type_raw[perl]
-# if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [
"%m" != "powerpc" ]; then
-# export ARCHFLAGS=""
-# export FULLPERL="/usr/bin/arch -%m perl$perlversion"
-# fi
-# ./Build test || exit 2
-# <<
<<
InstallScript: <<
#!/bin/sh -ex
echo "Sorry, we have to do testing, which may trigger Aqua GUI use, in
order to get SDLPerl.app compiled."
- perlversion=%type_raw[perl]
- if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [ "%m" !=
"powerpc" ]; then
- export ARCHFLAGS=""
- export FULLPERL="/usr/bin/arch -%m perl$perlversion"
- fi
- ./Build test || exit 2
-
./Build install
find %d -name .packlist -exec rm -rf {} \;
@@ -93,6 +86,9 @@
and isn't d rag'n'droppable, so have to run its internal
binary from command-line. Add symlink from %p/bin to make it
easy.
+
+ Upstream fix to get SDLPerl built during build instead of only
+ during testing.
<<
DescUsage: <<
To run an SDL-based perl program, use the "SDLPerl" driver for your
--- NEW FILE: sdl-pm.patch ---
diff -Nurd -x'*~' SDL-2.511.orig/inc/My/Builder.pm SDL-2.511/inc/My/Builder.pm
--- SDL-2.511.orig/inc/My/Builder.pm 2010-08-06 14:34:42.000000000 -0400
+++ SDL-2.511/inc/My/Builder.pm 2010-08-08 23:44:53.000000000 -0400
@@ -161,6 +161,7 @@
${ Alien::SDL::ConfigData->config('build_params') }{'title'} ||
'n.a.'
);
$self->SUPER::ACTION_build;
+ $self->ACTION_bundle;
}
# both special to MacOS/Darwin, somebody should review whether it is still
necessary
------------------------------------------------------------------------------
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