Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 13:58:51 +0200
From:      Olivier Tharan <olive@oban.frmug.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: bug in p5-Apache-Test install?
Message-ID:  <20030725115851.GE2189@weirdos.oban.frmug.org>
In-Reply-To: <20030715084241.GA15954@droso.net>
References:  <20030714213252.GJ51069@weirdos.oban.frmug.org> <20030715084241.GA15954@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Erwin Lansing <erwin@freebsd.org> (20030715 10:42):
> Yes. www/p5-Apache-Test cannot install (both perl 5.6.1 and 5.005_03).
> I haven't had time to look for a fix though. If you have a patch, I'd be
> happy to test it.

See also message from Marc Fournier on July, 22nd.

The trick would be to s/PERLRUN/PERL/ in Makefile in a post-configure or
pre-build target (PERLRUN appears only once).

Is this patch enough? Do you want me to file a PR?

--- www/p5-Apache-Test/Makefile.orig    Fri Jul 25 13:56:39 2003
+++ www/p5-Apache-Test/Makefile Fri Jul 25 13:57:47 2003
@@ -32,5 +32,6 @@
 
 post-configure:
        @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
+       @${PERL} -pi -e 's/PERLRUN/PERL/;' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>

-- 
olive



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725115851.GE2189>