aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-SQLite
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-08-28 07:16:33 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-08-28 07:16:33 +0000
commit0001a6bc3fe1ff92c4b00f31f317153fe4d5a79c (patch)
treed17fddb8a9fe91f31f45a9c939bb5952d823da68 /databases/p5-DBD-SQLite
parent95cecc3f717727d63acd822558a92ce6c8a23cd4 (diff)
downloadports-0001a6bc3fe1ff92c4b00f31f317153fe4d5a79c.tar.gz
ports-0001a6bc3fe1ff92c4b00f31f317153fe4d5a79c.zip
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
Notes
Notes: svn path=/head/; revision=141015
Diffstat (limited to 'databases/p5-DBD-SQLite')
-rw-r--r--databases/p5-DBD-SQLite/Makefile5
1 files changed, 4 insertions, 1 deletions
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 <bsd.port.post.mk>