aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/colortail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
index b67f34848589..67b59dc045e6 100644
--- a/misc/colortail/Makefile
+++ b/misc/colortail/Makefile
@@ -14,11 +14,12 @@ MAINTAINER= bugg@bugg.strangled.net
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
pre-patch:
- @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
- ${WRKSRC}/CfgFileParser.cc
+ @${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
+ ${WRKSRC}/CfgFileParser.cc
post-install:
@ ${MKDIR} ${PREFIX}/share/colortail