1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

USE_REINPLACE instead of perl.

This commit is contained in:
Akinori MUSHA 2002-11-02 16:33:08 +00:00
parent 5df91d4b88
commit 0f22b1b74a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69298

View File

@ -18,10 +18,12 @@ USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
USE_REINPLACE= yes
DOCS= README README.html
post-patch:
${PERL} -i.orig -pe 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
${REINPLACE_CMD} 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/