Re-added workaround (see 1.18) to prevent intermittent failures

depending on where the distfile was fetched.
This commit is contained in:
Mark Pulford 2001-09-02 09:31:17 +00:00
parent 37460618b0
commit 754533679e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47314

View File

@ -26,6 +26,7 @@ CONFIGURE_ARGS= --with-x=no
.endif
post-patch:
@${RM} -f ${WRKSRC}/config.cache
@${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
's|<malloc.h>|<stdlib.h>|g'