From f48b9836d58afa63808a9dcce7c6b1163308ed4c Mon Sep 17 00:00:00 2001 From: nork Date: Sun, 28 Aug 2005 07:16:33 +0000 Subject: Fix build on 4.x. Because perl 5.005 didn't have $Config{d_usleep}, $Config{d_usleep} was compulsorily used by replaceement to 1. Pointed out by: pointyhat via kris Reviewed by: tobez --- databases/p5-DBD-SQLite/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'databases/p5-DBD-SQLite') diff --git a/databases/p5-DBD-SQLite/Makefile b/databases/p5-DBD-SQLite/Makefile index c3240e197e02..04d95e5ee977 100644 --- a/databases/p5-DBD-SQLite/Makefile +++ b/databases/p5-DBD-SQLite/Makefile @@ -30,6 +30,9 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI .endif post-extract: - ${RM} -f ${WRKSRC}/getsqlite.pl + @${RM} -f ${WRKSRC}/getsqlite.pl + +post-patch: + @${PERL} -i.bak -pe 's/\$$Config{d_usleep}/1/' ${WRKSRC}/Makefile.PL .include -- cgit