Make work with Perl 5.10.
Pointed out by naddy@ ok simon@
This commit is contained in:
parent
d69c8acd2d
commit
b6b4dccefa
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/11 20:55:21 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2008/10/01 21:49:48 merdely Exp $
|
||||
|
||||
COMMENT= Perl interface to the swish-e C library
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
DISTNAME= swish-e-2.4.5
|
||||
PKGNAME= p5-SWISH-API-0.04
|
||||
PKGNAME= p5-SWISH-API-0.04p0
|
||||
CATEGORIES= textproc
|
||||
MODULES= cpan
|
||||
|
||||
|
19
textproc/p5-SWISH-API/patches/patch-perl_Makefile_PL
Normal file
19
textproc/p5-SWISH-API/patches/patch-perl_Makefile_PL
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-perl_Makefile_PL,v 1.1 2008/10/01 21:49:48 merdely Exp $
|
||||
|
||||
Fixes build after perl 5.10 update.
|
||||
|
||||
--- perl/Makefile.PL.orig Wed Oct 1 16:48:37 2008
|
||||
+++ perl/Makefile.PL Wed Oct 1 16:49:18 2008
|
||||
@@ -80,10 +80,8 @@ Can be either environment variables or passed on comma
|
||||
|
||||
EOF
|
||||
|
||||
-$SIG{__DIE__} = sub {
|
||||
- print STDERR "\n ** ERROR: ", @_;
|
||||
- print STDERR " Run perl Makefile.PL SWISHHELP for options\n\n";
|
||||
- exit 1;
|
||||
+END {
|
||||
+ print STDERR "Run perl Makefile.PL SWISHHELP for options\n\n" if $?;
|
||||
};
|
||||
|
||||
#----------------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user