From owner-freebsd-perl@FreeBSD.ORG Wed Jul 8 21:04:29 2009 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E09D81065674; Wed, 8 Jul 2009 21:04:29 +0000 (UTC) (envelope-from cm@therek.net) Received: from lux.therek.net (lux.therek.net [64.85.172.243]) by mx1.freebsd.org (Postfix) with ESMTP id AD3BE8FC16; Wed, 8 Jul 2009 21:04:29 +0000 (UTC) (envelope-from cm@therek.net) Received: from frameshift.waw.therek.net (dixie.therek.net [82.210.167.89]) (authenticated bits=0) by lux.therek.net (8.14.3/8.14.3) with ESMTP id n68L4Q79001293 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 8 Jul 2009 23:04:28 +0200 (CEST) Message-ID: <4A5509DA.3040308@therek.net> Date: Wed, 08 Jul 2009 23:04:26 +0200 From: Cezary Morga User-Agent: Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: QAT@freebsd.org References: <20090708133042.9A1F48FCB7@release.ixsystems.com> In-Reply-To: <20090708133042.9A1F48FCB7@release.ixsystems.com> Content-Type: multipart/mixed; boundary="------------030205030204050109070409" Cc: perl@freebsd.org Subject: Re: [Custom LOCALBASE/PREFIX] lang/p5-Tcl - fails: compiler_error X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2009 21:04:30 -0000 This is a multi-part message in MIME format. --------------030205030204050109070409 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit QAT@freebsd.org pisze: > The Restless Daemon identified a compiler error while trying to build: > p5-Tcl-0.97_2 maintained by perl@FreeBSD.org > Makefile ident: $FreeBSD: ports/lang/p5-Tcl/Makefile,v 1.33 2009/03/05 11:36:12 mm Exp $ A patch for this issue in attachment. HTH -- Cezary Morga "The world is a tragedy to those who feel, but a comedy to those who think." (Horace Walpole) --------------030205030204050109070409 Content-Type: text/plain; name="patch-p5-Tcl.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-p5-Tcl.diff" diff -ruN lang/p5-Tcl.orig/files/patch-Makefile.PL lang/p5-Tcl/files/patch-Makefile.PL --- lang/p5-Tcl.orig/files/patch-Makefile.PL 1970-01-01 01:00:00.000000000 +0100 +++ lang/p5-Tcl/files/patch-Makefile.PL 2009-07-08 22:53:46.624734000 +0200 @@ -0,0 +1,13 @@ +--- Makefile.PL.orig 2008-09-07 00:32:03.000000000 +0000 ++++ Makefile.PL 2009-07-08 20:52:52.404852410 +0000 +@@ -192,8 +192,9 @@ if (defined($libpath) && defined($incpat + $defs .= " -DTCL_LIB_FILE=\\\"tcl$tclver.dll\\\"" if $usestubs; + } + elsif ($^O eq 'freebsd') { ++ $tclcfg{tcl_library} =~ /^(.*)[\\\/]lib[\\\/]/ and ++ $incpath .= " -I$1/include/tcl$tclver"; + $tclver=~s/\.//; +- $tclsh=~/([\d.]+)$/ and $incpath .= " -I/usr/local/include/tcl$1"; + $defs .= " -DTCL_LIB_FILE=\\\"libtcl$tclver.so\\\"" if $usestubs; + } + elsif ($^O eq 'hpux') { --------------030205030204050109070409--