Date: Wed, 14 Mar 2001 12:59:32 -0700 (MST) From: "Aaron D. Gifford" <agifford@infowest.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/25810: [PATCH] p5-Mysql port build fails because of missing parameter in Makefile Message-ID: <20010314195932.409DD2109F@ns1.infowest.com>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010314195932.409DD2109F>