summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@FreeBSD.org>2015-11-07 11:18:11 +0000
committervg <vg@FreeBSD.org>2015-11-07 11:18:11 +0000
commit23034403104768b362c200bf287f807087887655 (patch)
tree76518302258334ccb07ad2a918fb41764eaffae6
parent3cfeed1db78375b6e91aaf5b6ea8187e23fb2a88 (diff)
downloadFreeBSD-ports-23034403104768b362c200bf287f807087887655.zip
FreeBSD-ports-23034403104768b362c200bf287f807087887655.tar.gz
- Remove broken
- Fix build PR: ports/204052 Submitted by: Mathieu Simon <freebsd@simweb.ch>
-rw-r--r--print/p5-Net-CUPS/Makefile2
-rw-r--r--print/p5-Net-CUPS/files/patch-Makefile.PL18
2 files changed, 18 insertions, 2 deletions
diff --git a/print/p5-Net-CUPS/Makefile b/print/p5-Net-CUPS/Makefile
index f21db08..6b22cf9 100644
--- a/print/p5-Net-CUPS/Makefile
+++ b/print/p5-Net-CUPS/Makefile
@@ -11,8 +11,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= vg@FreeBSD.org
COMMENT= Interface to the CUPS API
-BROKEN= Fails to configure or build
-
BUILD_DEPENDS= cups-config:${PORTSDIR}/print/cups-client
LIB_DEPENDS= libcupsimage.so:${PORTSDIR}/print/cups-image \
libcupsfilters.so:${PORTSDIR}/print/cups-filters
diff --git a/print/p5-Net-CUPS/files/patch-Makefile.PL b/print/p5-Net-CUPS/files/patch-Makefile.PL
new file mode 100644
index 0000000..0551f5e
--- /dev/null
+++ b/print/p5-Net-CUPS/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+Fixes issue with the version check as mentioned upstream:
+https://rt.cpan.org/Public/Bug/Display.html?id=104237
+
+--- Makefile.PL.orig 2015-10-27 12:05:43 UTC
++++ Makefile.PL
+@@ -31,8 +31,10 @@ else
+
+ my @version_parts = split( /\./, $version );
+
+-if( ( $version_parts[1] < 2 ) ||
+- ( ( $version_parts[1] == 2 ) && ( $version_parts[2] < 2 ) ) )
++if(
++ ( $version_parts[0] < 1 ) ||
++ ( ( $version_parts[0] == 1 ) && ( $version_parts[1] < 2 ) ) ||
++ ( ( $version_parts[0] == 1 ) && ( $version_parts[1] == 2 ) && ( $version_parts[2] < 2 ) ) )
+ {
+ print "The version of the Common Unix Printing System installed\n";
+ print "on your system is too old for this module to work properly.\n";
OpenPOWER on IntegriCloud