mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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
This commit is contained in:
parent
95cecc3f71
commit
0001a6bc3f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141015
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue