diff options
Diffstat (limited to 'security/chkrootkit/Makefile')
-rw-r--r-- | security/chkrootkit/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index 81204762558..1081350d25a 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -12,6 +12,8 @@ MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ MAINTAINER= cordeiro@luinil.nic.br +USE_REINPLACE= yes + ALL_TARGET= chkrootkit chklastlog chkwtmp chkproc ifpromisc DOCFILES= COPYRIGHT README README.chklastlog README.chkwtmp @@ -19,8 +21,8 @@ DOCFILES= COPYRIGHT README README.chklastlog README.chkwtmp BINMODE= 0700 pre-patch: - ${PERL} -pi -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile - ${PERL} -pi -e \ + ${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e \ 's#\./chklastlog#${PREFIX}/sbin/chklastlog#g; \ s#\./chkwtmp#${PREFIX}/sbin/chkwtmp#g; \ s#\./chkproc#${PREFIX}/sbin/chkproc#g; \ |