diff options
Diffstat (limited to 'lang/dis')
-rw-r--r-- | lang/dis/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/dis/Makefile b/lang/dis/Makefile index ab208c5b4e21..33e9d8e2283e 100644 --- a/lang/dis/Makefile +++ b/lang/dis/Makefile @@ -13,8 +13,10 @@ DISTNAME= dis MAINTAINER= simond@irrelevant.org +USE_REINPLACE= yes + post-patch: - ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/dis.c + @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/dis.c do-build: ${CC} ${CFLAGS} ${WRKSRC}/dis.c -o ${WRKSRC}/dis |