aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail-old
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /mail/sendmail-old
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadfreebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.zst
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
- Get rid of PERL and use SED
Diffstat (limited to 'mail/sendmail-old')
-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