aboutsummaryrefslogtreecommitdiff
path: root/graphics/plotmtv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/plotmtv/Makefile')
-rw-r--r--graphics/plotmtv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/plotmtv/Makefile b/graphics/plotmtv/Makefile
index f0a3b2c91b20..e1fe674a430f 100644
--- a/graphics/plotmtv/Makefile
+++ b/graphics/plotmtv/Makefile
@@ -16,12 +16,13 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_IMAKE= yes
ALL_TARGET= World
MAN1= plotmtv.1
post-patch:
- find ${WRKSRC} -name \*.c | xargs ${PERL} -pi.malloc.h -e 's/<malloc.h>/<stdlib.h>/'
+ @${FIND} ${WRKSRC} -name \*.c | ${XARGS} ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/'
post-install:
.if !defined(NOPORTDOCS)