A fix for broken p5-PDFLib

John Marino freebsd.contact at marino.st
Fri Nov 1 11:04:07 UTC 2013


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

-------------- next part --------------
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


More information about the freebsd-perl mailing list