summaryrefslogtreecommitdiff
path: root/graphics/p5-ming/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-ming/files/patch-Makefile.PL')
-rw-r--r--graphics/p5-ming/files/patch-Makefile.PL40
1 files changed, 27 insertions, 13 deletions
diff --git a/graphics/p5-ming/files/patch-Makefile.PL b/graphics/p5-ming/files/patch-Makefile.PL
index 76d6e0264de9..a7a2008c1727 100644
--- a/graphics/p5-ming/files/patch-Makefile.PL
+++ b/graphics/p5-ming/files/patch-Makefile.PL
@@ -1,20 +1,34 @@
---- Makefile.PL.orig Sat Aug 18 02:05:50 2001
-+++ Makefile.PL Tue Sep 18 15:09:21 2001
-@@ -37,14 +37,14 @@
- WriteMakefile(
- 'NAME' => 'SWF',
- 'VERSION_FROM' => 'SWF.pm', # finds $VERSION
-- 'LIBS' => [''], # e.g., '-lm'
-+ 'LIBS' => ["-L$ENV{LOCALBASE}/lib -lming"], # e.g., '-lm'
- 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
- 'INC' => '', # e.g., '-I/usr/include/other'
+--- Makefile.PL.orig Wed Feb 1 15:45:17 2006
++++ Makefile.PL Mon Apr 17 23:31:32 2006
+@@ -78,25 +78,25 @@
+ clean => {
+ FILES => "@do_clean",
+ },
- 'MYEXTLIB' => $MING_DIR . '/libming.a',
+# 'MYEXTLIB' => $MING_DIR . '/libming.a',
+ 'OBJECT' => "$XS_OBJECTS",
+ #'LIBS' => [ "-lz" ],
+- 'LIBS' => [ $libs ],
++ 'LIBS' => ["-L$ENV{LOCALBASE}/lib -lming"],
);
+ sub MY::install {
+ my $self = shift;
+ write_myconfig_file($self->{INSTALLSITEARCH});
+
+- for (qw(ming.h libming.a)){
+- $self->{PM}->{"$MING_DIR/$_"} = '$(INST_ARCHLIB)' . "/auto/SWF/include/$_";
+- }
++# for (qw(ming.h libming.a)){
++# $self->{PM}->{"$MING_DIR/$_"} = '$(INST_ARCHLIB)' . "/auto/SWF/include/$_";
++# }
+ $self->{PM}->{'perl_swf.h'} = '$(INST_ARCHLIB)' . "/auto/SWF/include/perl_swf.h";
+ return $self->MM::install;
+ }
+
sub ming_is_compiled{
-- return undef unless (-e "$MING_DIR/libming.a");
-+# return undef unless (-e "$MING_DIR/libming.a");
- return 1;
+- return undef unless (-e "$MING_DIR/libming.a");
++# return undef unless (-e "$MING_DIR/libming.a");
+ return 1;
}