diff options
author | Andrej Zverev <az@FreeBSD.org> | 2013-10-05 08:10:30 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2013-10-05 08:10:30 +0000 |
commit | 12e799f488fa580ea556b1311941a01150d30b04 (patch) | |
tree | 998e8d6eec163d9c079190cfa0fed8ea16b5a3af /x11-toolkits | |
parent | 6fc78ef21545f2dca12141eead63be841055f602 (diff) | |
download | ports-12e799f488fa580ea556b1311941a01150d30b04.tar.gz ports-12e799f488fa580ea556b1311941a01150d30b04.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Gtk/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap | 31 | ||||
-rw-r--r-- | x11-toolkits/p5-Gtk/pkg-plist | 5 |
3 files changed, 37 insertions, 8 deletions
diff --git a/x11-toolkits/p5-Gtk/Makefile b/x11-toolkits/p5-Gtk/Makefile index bc3964580d4c..81db0e303607 100644 --- a/x11-toolkits/p5-Gtk/Makefile +++ b/x11-toolkits/p5-Gtk/Makefile @@ -8,7 +8,7 @@ MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-Perl-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= The base module of Gtk-Perl BUILD_DEPENDS= p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ @@ -20,11 +20,4 @@ USE_PERL5= configure CONFIGURE_ARGS= --without-guessing --lazy-load MAKE_JOBS_UNSAFE= yes -MAN3= Gtk.3pm \ - Gtk::CListModel.3pm \ - Gtk::cookbook.3pm \ - Gtk::objects.3pm \ - Gtk::reference.3pm - -NO_STAGE= yes .include <bsd.port.mk> diff --git a/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap b/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap new file mode 100644 index 000000000000..aa5eb921f5a5 --- /dev/null +++ b/x11-toolkits/p5-Gtk/files/patch-Gtk__gtk-0.99.typemap @@ -0,0 +1,31 @@ +--- ./Gtk/gtk-0.99.typemap.orig 2013-10-05 11:49:16.000000000 +0400 ++++ ./Gtk/gtk-0.99.typemap 2013-10-05 11:50:55.000000000 +0400 +@@ -62,8 +62,8 @@ + } while(0) + + T_GtkPTROBJOrNULL +- $var = SvTRUE($arg) ? Cast$type(SvGtkObjectRef($arg, \"" . ($foo=$ntype,$foo=~s/_OrNULL//,$foo). "\")) : 0 +- ++ $var = SvTRUE($arg) ? Cast$type(SvGtkObjectRef($arg, \"" . (our $foo=$ntype,$foo=~s/_OrNULL//,$foo). "\")) : 0 ++ + T_GtkPTROBJUp + $var = Cast$type(SvGtkObjectRef($arg, \"${ntype}\")) + +@@ -95,14 +95,14 @@ + do { + if (!$arg || !SvOK($arg)) + croak(\"$var is not of type ${ntype}\"); +- $var = Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg); ++ $var = Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg); + } while (0) + + T_SimpleValOrNULL +- $var = ($arg && SvOK($arg)) ? Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo=~s/_OrNULL$//, $foo) . "($arg) : 0 ++ $var = ($arg && SvOK($arg)) ? Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo=~s/_OrNULL$//, $foo) . "($arg) : 0 + + T_SimplePtr +- $var = Sv" . ($foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg,0) ++ $var = Sv" . (our $foo=$ntype, $foo=~s/://g, $foo=~s/^GtkGdk/Gdk/, $foo) . "($arg,0) + + OUTPUT + diff --git a/x11-toolkits/p5-Gtk/pkg-plist b/x11-toolkits/p5-Gtk/pkg-plist index e8d49b817d5a..0d968499e403 100644 --- a/x11-toolkits/p5-Gtk/pkg-plist +++ b/x11-toolkits/p5-Gtk/pkg-plist @@ -39,6 +39,11 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/Gtk.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/autosplit.ix %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk/base/.packlist +%%PERL5_MAN3%%/Gtk.3pm.gz +%%PERL5_MAN3%%/Gtk::CListModel.3pm.gz +%%PERL5_MAN3%%/Gtk::cookbook.3pm.gz +%%PERL5_MAN3%%/Gtk::objects.3pm.gz +%%PERL5_MAN3%%/Gtk::reference.3pm.gz @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/LWP @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk/Install @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk |