Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Nov 2013 12:03:36 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        perl@freebsd.org
Subject:   A fix for broken p5-PDFLib
Message-ID:  <52738A88.6030005@marino.st>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080905010007090602060803
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi all,
There doesn't seem to be a PR or portsmon errors against
print/p5-PDFLib, but it's been broken for weeks.

I believe the version test is failing falsely, so the attached patch
disables the test (I think).

I don't know if this is a proper fix, but the downstream ports in dports
are building now.  If somebody approves, I can push this easily.

Awaiting direction,
John


--------------080905010007090602060803
Content-Type: text/plain; charset=windows-1252;
 name="p5-PDFLib.diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="p5-PDFLib.diff.txt"

Index: print/p5-PDFLib/files/patch-Makefile.PL
===================================================================
--- print/p5-PDFLib/files/patch-Makefile.PL	(revision 0)
+++ print/p5-PDFLib/files/patch-Makefile.PL	(working copy)
@@ -0,0 +1,17 @@
+--- Makefile.PL.orig	2001-06-04 13:38:11.000000000 +0000
++++ Makefile.PL
+@@ -6,7 +6,7 @@ eval {
+     require pdflib_pl;
+     die unless $pdflib_pl::VERSION >= 4.0;
+ };
+-if ($@) {
++if (0) {
+     die <<DEATH;
+ 
+ PDFLib requires the pdflib package from http://www.pdflib.com/ version
+@@ -20,5 +20,4 @@ DEATH
+ WriteMakefile(
+     'NAME'	=> 'PDFLib',
+     'VERSION_FROM' => 'PDFLib.pm', # finds $VERSION
+-    'PREREQ_PM' => { pdflib_pl => 4.0 },
+ );

Property changes on: print/p5-PDFLib/files/patch-Makefile.PL
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property

--------------080905010007090602060803--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52738A88.6030005>