better fix, p5-libwww is not really needed at build time

This commit is contained in:
sturm 2006-12-14 06:32:22 +00:00
parent 472d6075c5
commit dae2e92239
2 changed files with 27 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2006/12/14 06:16:59 sturm Exp $
# $OpenBSD: Makefile,v 1.3 2006/12/14 06:32:22 sturm Exp $
COMMENT= "perl implementation of XML-RPC"
@ -17,7 +17,6 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RPC/}
USE_GMAKE= Yes
BUILD_DEPENDS= ::www/p5-libwww
RUN_DEPENDS= ::www/p5-libwww \
::textproc/p5-XML-Parser
REGRESS_DEPENDS= ${RUN_DEPENDS} \

View File

@ -0,0 +1,26 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2006/12/14 06:32:22 sturm Exp $
--- Makefile.PL.orig Wed Dec 13 23:25:26 2006
+++ Makefile.PL Wed Dec 13 23:25:45 2006
@@ -12,22 +12,6 @@ use ExtUtils::MakeMaker;
use File::Spec;
use File::Find;
use Cwd 'cwd';
-use LWP;
-
-if ($LWP::VERSION < 5.801)
-{
- print STDERR <<END;
-@@@@@
- Please note!
-
- Due to a bug fixed in version 5.801 of LWP, using the spool-to-file
- feature of RPC::XML::Client is broken. The relevant tests will be
- skipped in the test suite, but unless you upgrade your LWP you
- should not attempt to use this feature.
-@@@@@
-
-END
-}
eval "use XML::LibXML;";
if ($@ or $XML::LibXML::VERSION < 1.58)