summaryrefslogtreecommitdiffstats
path: root/mail/sendmail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerdinoex <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /mail/sendmail
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadFreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
FreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
- Get rid of PERL and use SED
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index ecddbad..4e0a710 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -83,9 +83,11 @@ post-extract:
> ${WRKSRC}/sendmail.sh
do-configure:
- ${PERL} -pi -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \
- ${WRKSRC}/devtools/OS/FreeBSD
- ${PERL} -pi -e "s,\`-O\',\`${CFLAGS}\'," ${WRKSRC}/devtools/OS/FreeBSD
+ @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed
+ ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \
+ -e "s,\`-O\',\`${CFLAGS}\'," \
+ ${WRKSRC}/devtools/OS/FreeBSD.sed \
+ > ${WRKSRC}/devtools/OS/FreeBSD
${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${SITE} > ${WCONF}/site.config.m4
OpenPOWER on IntegriCloud