aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-SQLite
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-08-28 15:16:33 +0800
committernork <nork@FreeBSD.org>2005-08-28 15:16:33 +0800
commitf48b9836d58afa63808a9dcce7c6b1163308ed4c (patch)
tree93d6bb0acf057ecc80eaadfa78240903ea8c5071 /databases/p5-DBD-SQLite
parentdc04ccf52375947bd784940dcb6f70852ac21fc6 (diff)
downloadfreebsd-ports-gnome-f48b9836d58afa63808a9dcce7c6b1163308ed4c.tar.gz
freebsd-ports-gnome-f48b9836d58afa63808a9dcce7c6b1163308ed4c.tar.zst
freebsd-ports-gnome-f48b9836d58afa63808a9dcce7c6b1163308ed4c.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
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>