22bccce129
perl 5.8.0 fixes in patch-Gtk_Makefile_PL from freebsd
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
# $OpenBSD: patch-Gtk_Makefile_PL,v 1.2 2003/02/02 19:14:25 jcs Exp $
|
|
--- Gtk/Makefile.PL.orig Sat May 26 11:08:38 2001
|
|
+++ Gtk/Makefile.PL Sun Feb 2 11:44:25 2003
|
|
@@ -59,7 +59,7 @@
|
|
|
|
$gtk_hverstr = sprintf("0x%02x%02x%02x", $gtk_major, $gtk_minor, $gtk_micro);
|
|
|
|
-push @defines, "-DGTK_HVER=$gtk_hverstr";
|
|
+push @defines, "-DGTK_HVER=$gtk_hverstr -o \$*.o";
|
|
|
|
if (not defined $gtk_version) {
|
|
die "Unable to find Gtk version...\n";
|
|
@@ -160,11 +160,11 @@
|
|
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
|
|
'OPTIMIZE' => '-O2 -g',
|
|
'MAN3PODS' => {
|
|
- 'cookbook.pod' => '$(INST_MAN3DIR)/Gtk::cookbook.3pm',
|
|
- 'Gtk.pm' => '$(INST_MAN3DIR)/Gtk.3pm',
|
|
- 'objects.pod' => '$(INST_MAN3DIR)/Gtk::objects.3pm',
|
|
- 'GtkCListModel.pm' => '$(INST_MAN3DIR)/Gtk::CListModel.3pm',
|
|
- 'build/perl-gtk-ref.pod' => '$(INST_MAN3DIR)/Gtk::reference.3pm',
|
|
+ 'cookbook.pod' => '$(INST_MAN3DIR)/Gtk::cookbook.3p',
|
|
+ 'Gtk.pm' => '$(INST_MAN3DIR)/Gtk.3p',
|
|
+ 'objects.pod' => '$(INST_MAN3DIR)/Gtk::objects.3p',
|
|
+ 'GtkCListModel.pm' => '$(INST_MAN3DIR)/Gtk::CListModel.3p',
|
|
+ 'build/perl-gtk-ref.pod' => '$(INST_MAN3DIR)/Gtk::reference.3p',
|
|
},
|
|
$gtk->get_makefile_vars,
|
|
);
|
|
@@ -187,12 +187,12 @@
|
|
|
|
}
|
|
|
|
-sub MY::c_o {
|
|
- package MY; # so that "SUPER" works right
|
|
- my $inherited = shift->SUPER::c_o(@_);
|
|
- $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
|
|
- $inherited;
|
|
-}
|
|
+#sub MY::c_o {
|
|
+# package MY; # so that "SUPER" works right
|
|
+# my $inherited = shift->SUPER::c_o(@_);
|
|
+# $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
|
|
+# $inherited;
|
|
+#}
|
|
|
|
sub MY::const_config
|
|
{
|