summaryrefslogtreecommitdiffstats
path: root/devel/ruby-byaccr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-byaccr')
-rw-r--r--devel/ruby-byaccr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile
index 9e30cd5..eb725fa 100644
--- a/devel/ruby-byaccr/Makefile
+++ b/devel/ruby-byaccr/Makefile
@@ -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}/
OpenPOWER on IntegriCloud