diff options
Diffstat (limited to 'misc/colortail')
-rw-r--r-- | misc/colortail/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile index d8ad90f5bc30..b67f34848589 100644 --- a/misc/colortail/Makefile +++ b/misc/colortail/Makefile @@ -16,6 +16,10 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt GNU_CONFIGURE= yes +pre-patch: + @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \ + ${WRKSRC}/CfgFileParser.cc + post-install: @ ${MKDIR} ${PREFIX}/share/colortail @ ${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${PREFIX}/share/colortail/ |