View | Details | Raw Unified | Return to bug 133086
Collapse All | Expand All

(-)editors/p5-Padre/Makefile (-11 / +8 lines)
Lines 69-75 Link Here
69
USE_PERL5=	5.8.5+
69
USE_PERL5=	5.8.5+
70
USE_GETTEXT=	yes
70
USE_GETTEXT=	yes
71
71
72
PERL_THREADS=	${PERL} -V::usethreads
72
.include <bsd.port.pre.mk>
73
74
PERL_THREADS!=	${PERL} -V::usethreads
75
76
.if ${PERL_THREADS}!="'define';"
77
IGNORE=		needs a threaded Perl, build with WITH_THREADS=yes flag and try again
78
.endif
73
79
74
MAN3=		Padre.3 \
80
MAN3=		Padre.3 \
75
		Padre::Autosave.3 \
81
		Padre::Autosave.3 \
Lines 117-132 Link Here
117
		Wx::Perl::Dialog::Simple.3 \
123
		Wx::Perl::Dialog::Simple.3 \
118
		Wx::Perl::Dialog::SingleChoice.3
124
		Wx::Perl::Dialog::SingleChoice.3
119
125
120
pre-configure:
121
	@if [ "$$(${PERL_THREADS})" = "'undef';" ]; then \
122
		${ECHO_MSG}; \
123
		${ECHO_MSG} "===>  ${PKGNAME} requires Perl with thread support built-in!"; \
124
		${ECHO_MSG} "      Please, recompile Perl with WITH_THREADS=yes flag and try again."; \
125
		${ECHO_MSG}; \
126
		exit 2; \
127
	fi
128
129
post-patch:
126
post-patch:
130
	@${REINPLACE_CMD} -e 's|use File::Spec.*$$||' ${WRKSRC}/lib/Padre/Config/Human.pm
127
	@${REINPLACE_CMD} -e 's|use File::Spec.*$$||' ${WRKSRC}/lib/Padre/Config/Human.pm
131
128
132
.include <bsd.port.mk>
129
.include <bsd.port.post.mk>
(-)editors/p5-Padre/files/patch-inc-Module-Install-PRIVATE-Padre.pm (+11 lines)
Line 0 Link Here
1
--- inc/Module/Install/PRIVATE/Padre.pm.orig	2009-03-25 18:14:22.647642180 +0100
2
+++ inc/Module/Install/PRIVATE/Padre.pm	2009-03-25 18:14:56.500567901 +0100
3
@@ -61,7 +61,7 @@
4
 	}
5
 	my $widgets_human = $widgets;
6
 	$widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/;
7
-	$widgets_human =~ s/0//g;
8
+	$widgets_human =~ s/\.0*/./g;
9
 	print "Found wxWidgets $widgets_human\n";
10
 	unless ( $widgets >= 2.008008 ) {
11
 		nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human");

Return to bug 133086