From owner-svn-ports-all@freebsd.org Sat Nov 7 11:18:13 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AB72A272B9; Sat, 7 Nov 2015 11:18:13 +0000 (UTC) (envelope-from vg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CA191CF3; Sat, 7 Nov 2015 11:18:13 +0000 (UTC) (envelope-from vg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA7BIC9g008508; Sat, 7 Nov 2015 11:18:12 GMT (envelope-from vg@FreeBSD.org) Received: (from vg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA7BICAB008506; Sat, 7 Nov 2015 11:18:12 GMT (envelope-from vg@FreeBSD.org) Message-Id: <201511071118.tA7BICAB008506@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vg set sender to vg@FreeBSD.org using -f From: Veniamin Gvozdikov Date: Sat, 7 Nov 2015 11:18:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400978 - in head/print/p5-Net-CUPS: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 11:18:13 -0000 Author: vg Date: Sat Nov 7 11:18:11 2015 New Revision: 400978 URL: https://svnweb.freebsd.org/changeset/ports/400978 Log: - Remove broken - Fix build PR: ports/204052 Submitted by: Mathieu Simon Added: head/print/p5-Net-CUPS/files/patch-Makefile.PL (contents, props changed) Modified: head/print/p5-Net-CUPS/Makefile Modified: head/print/p5-Net-CUPS/Makefile ============================================================================== --- head/print/p5-Net-CUPS/Makefile Sat Nov 7 10:43:26 2015 (r400977) +++ head/print/p5-Net-CUPS/Makefile Sat Nov 7 11:18:11 2015 (r400978) @@ -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 Added: head/print/p5-Net-CUPS/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/p5-Net-CUPS/files/patch-Makefile.PL Sat Nov 7 11:18:11 2015 (r400978) @@ -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";