summaryrefslogtreecommitdiff
path: root/mail/sendmail-old/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commit3209d0ed2cc143797c8daed23af744fac7bae88f (patch)
tree860c1e7d1aa2270dd945fbd7842cb80ebf687386 /mail/sendmail-old/Makefile
parentFix corrupted patch (duplicate of content). (diff)
- Get rid of PERL and use SED
Notes
Notes: svn path=/head/; revision=61375
Diffstat (limited to 'mail/sendmail-old/Makefile')
-rw-r--r--mail/sendmail-old/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index f5a08e29a3fa..de726183fc34 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -87,6 +87,11 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
SENDMAIL= ${PREFIX}/sbin/sendmail
do-configure:
+ @${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