From owner-freebsd-ports Wed Mar 14 12: 0:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FAEA37B71A for ; Wed, 14 Mar 2001 12:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2EK03d55871; Wed, 14 Mar 2001 12:00:03 -0800 (PST) (envelope-from gnats) Received: from ns1.infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id 19B8637B719 for ; Wed, 14 Mar 2001 11:59:33 -0800 (PST) (envelope-from adg@infowest.com) Received: by ns1.infowest.com (Postfix, from userid 100) id 409DD2109F; Wed, 14 Mar 2001 12:59:32 -0700 (MST) Message-Id: <20010314195932.409DD2109F@ns1.infowest.com> Date: Wed, 14 Mar 2001 12:59:32 -0700 (MST) From: "Aaron D. Gifford" Reply-To: "Aaron D. Gifford" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/25810: [PATCH] p5-Mysql port build fails because of missing parameter in Makefile Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25810 >Category: ports >Synopsis: [PATCH] Build of p5-Mysql port fails because of missing parameter in Makefile >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 14 12:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Aaron D. Gifford >Release: FreeBSD 4.3-BETA i386 >Organization: N/A >Environment: System: FreeBSD my.freebsd.box 4.3-BETA FreeBSD 4.3-BETA #0: Tue Mar 13 23:11:54 MST 2001 root@my.freebsd.box:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: Any attempt to make/build the p5-Mysql port fails (at least as of 14 FEB. 2001 CVS updated ports) because of a missing '-p' flag in the Makefile. Here's what the error looks like: ===> Patching for p5-Mysql-modules-1.2215 ===> Configuring for p5-Mysql-modules-1.2215 Modification of a read-only value attempted at -e line 1. *** Error code 19 Stop in /usr/ports/databases/p5-Mysql. *** Error code 1 Stop in /usr/ports/databases/p5-Mysql. *** Error code 1 Stop in /usr/ports/databases/p5-Mysql. *** Error code 1 >How-To-Repeat: Just attempt to build the port cleanly. >Fix: Add the '-p' flag to line to the command line parameters on line 35 of the Makefile. Change: @${PERL} -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm To instead read: @${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm Or apply the patch included below. - Aaron out. --- Makefile.orig Wed Mar 14 12:42:50 2001 +++ Makefile Wed Mar 14 12:42:32 2001 @@ -32,6 +32,6 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} pre-configure: - @${PERL} -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm + @${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message