aboutsummaryrefslogtreecommitdiff
path: root/mail/popa3d
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/popa3d
parentc00b0f53f4a755b319b5a5939106cfe959913672 (diff)
downloadports-3209d0ed2cc143797c8daed23af744fac7bae88f.tar.gz
ports-3209d0ed2cc143797c8daed23af744fac7bae88f.zip
Notes
Diffstat (limited to 'mail/popa3d')
-rw-r--r--mail/popa3d/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index badf7a139a24..662d081ee8ce 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -32,11 +32,15 @@ pre-configure:
@${ECHO_CMD} "share/sendmail/cf/hack/popauth.m4" >>${PLIST}
post-patch:
- @${PERL5} -pi -e "s=db1/db.h=db.h=" ${WRKSRC}/pop_root.c
+ @${MV} ${WRKSRC}/pop_root.c ${WRKSRC}/pop_root.c.sed
+ ${SED} -e "s=db1/db.h=db.h=" \
+ ${WRKSRC}/pop_root.c.sed > ${WRKSRC}/pop_root.c
.endif
pre-patch:
- @${PERL5} -pi -e "s=/var/empty=${PREFIX}/empty=" ${WRKSRC}/params.h
+ @${MV} ${WRKSRC}/params.h ${WRKSRC}/params.h.sed
+ ${SED} -e "s=/var/empty=${PREFIX}/empty=" \
+ ${WRKSRC}/params.h.sed > ${WRKSRC}/params.h
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL