summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/autosig/Makefile3
-rw-r--r--mail/ripmime/Makefile4
2 files changed, 5 insertions, 2 deletions
diff --git a/mail/autosig/Makefile b/mail/autosig/Makefile
index d85d6e15dc68..11d6782ff09b 100644
--- a/mail/autosig/Makefile
+++ b/mail/autosig/Makefile
@@ -14,9 +14,10 @@ MAINTAINER= leeym@FreeBSD.org
MAKEFILE= makefile
ALL_TARGET= ${PORTNAME}
+USE_REINPLACE= yes
pre-build:
- ${PERL} -pi -e 's,gcc,${CC} ${CFLAGS},g' ${WRKSRC}/makefile
+ ${REINPLACE_CMD} -e 's,gcc,${CC} ${CFLAGS},g' ${WRKSRC}/makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/mail/ripmime/Makefile b/mail/ripmime/Makefile
index 093404d9c7f1..502ec9da70e4 100644
--- a/mail/ripmime/Makefile
+++ b/mail/ripmime/Makefile
@@ -12,8 +12,10 @@ MASTER_SITES= http://www.pldaniels.com/ripmime/
MAINTAINER= jus@security.za.net
+USE_REINPLACE= yes
+
pre-build:
- @${PERL} -pi -e 's!CC=!CC?=!; s!/usr/local!${PREFIX}!; \
+ @${REINPLACE_CMD} -e 's!CC=!CC?=!; s!/usr/local!${PREFIX}!; \
s!CFLAGS= -Wall -O2!CFLAGS+= -Wall!' \
${WRKSRC}/Makefile