From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 18 00:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A0B66F1E for ; Tue, 18 Jun 2013 00:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 835711BA1 for ; Tue, 18 Jun 2013 00:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5I0o0pv093628 for ; Tue, 18 Jun 2013 00:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5I0o0Q5093624; Tue, 18 Jun 2013 00:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 18 Jun 2013 00:50:00 GMT Resent-Message-Id: <201306180050.r5I0o0Q5093624@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Geraud CONTINSOUZAS Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A40CC47 for ; Tue, 18 Jun 2013 00:40:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2D9441ADC for ; Tue, 18 Jun 2013 00:40:40 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5I0eddf019220 for ; Tue, 18 Jun 2013 00:40:39 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5I0edd8019211; Tue, 18 Jun 2013 00:40:39 GMT (envelope-from nobody) Message-Id: <201306180040.r5I0edd8019211@oldred.freebsd.org> Date: Tue, 18 Jun 2013 00:40:39 GMT From: Geraud CONTINSOUZAS To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179666: [PATCH] Fix graphics/graphviz with WITH_PERL X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 00:50:00 -0000 >Number: 179666 >Category: ports >Synopsis: [PATCH] Fix graphics/graphviz with WITH_PERL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 18 00:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Geraud CONTINSOUZAS >Release: FreeBSD 9.1-STABLE >Organization: >Environment: >Description: Long story short : the config/config_perl.pl file has changed significantly in the tarball and while the patch applies, the resulting file fails to run correctly under a recent perl (at least on 5.14). As a result the Perl bindings are not built (let alone packaged) when the PERL option is active. The port will build fine but `make package` will report the missing files and fail. >How-To-Repeat: cd /usr/ports/graphics/graphviz; make [x] PERL make package >Fix: See attached patch (while there, I made some slight changes to silence a warning about future deprecation). Patch attached with submission follows: --- files/patch-config_perl.pl.orig 2013-06-18 11:16:49.000000000 +1100 +++ files/patch-config_perl.pl 2013-06-18 11:19:36.000000000 +1100 @@ -1,9 +1,14 @@ ---- config/config_perl.pl.orig 2008-07-14 14:54:04.000000000 +0200 -+++ config/config_perl.pl 2009-03-15 11:08:29.000000000 +0100 -@@ -11,5 +11,5 @@ +--- config/config_perl.pl.orig 2013-02-15 00:27:39.000000000 +1100 ++++ config/config_perl.pl 2013-06-18 11:18:34.000000000 +1100 +@@ -11,10 +11,9 @@ print "-I$archlib/CORE"; } if ($ARGV[0] eq "PERL_INSTALL_DIR") { -- print "$Config{vendorarch}" -+ print "$Config{sitearch}" - } +- + my $d; + +- foreach $d qw(installvendorarch vendorarch installsitearch sitearch) { ++ foreach $d ( qw(installvendorarch vendorarch installsitearch sitearch) ) { + if (exists($Config{$d}) and defined($Config{$d}) and + ($Config{$d} ne '') ) { + print "$Config{$d}"; >Release-Note: >Audit-Trail: >Unformatted: