diff options
author | tron <tron@pkgsrc.org> | 2004-09-06 19:55:07 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-09-06 19:55:07 +0000 |
commit | 73e8e84dd5a2d822b7ea10369eaecdf31082b0a8 (patch) | |
tree | e63eff1aea74b64080ba54e343ad3f432a8e1c63 /mail/imap-uw | |
parent | b9a3fde88cd8c6b27817525f5c4f4063fa4e5781 (diff) | |
download | pkgsrc-73e8e84dd5a2d822b7ea10369eaecdf31082b0a8.tar.gz |
Fix too complicated and broken shell code in "post-extract" target which
clobbered the contents of the manual pages.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index c108f7d62dc..7b2e6c918a2 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.78 2004/08/12 12:13:54 adam Exp $ +# $NetBSD: Makefile,v 1.79 2004/09/06 19:55:07 tron Exp $ # ATTENTION: # The Kerberos support in this software is known to be problematic. If you # upgrade this package you *must* test it on a system *without* Kerberos @@ -102,13 +102,13 @@ post-extract: # # Correct hardcoded paths in man pages. # - cd ${WRKSRC}; for file in ${MANFILES}; do \ - f=`${ECHO} $${file} | ${SED} "s|\(.*\)\.\([0-9]\).*|\1.\2|"`; \ + cd ${WRKSRC}; for FILE in ${MANFILES}; do \ + ${CP} $${FILE} $${FILE}.broken; \ ${SED} -e "s|/usr/etc/imapd|${PREFIX}/libexec/imapd|g" \ -e "s|/etc/rimapd|${PREFIX}/sbin/rimapd|g" \ -e "s|/usr/etc/ipop2d|${PREFIX}/libexec/ipop2d|g" \ -e "s|/usr/etc/ipop3d|${PREFIX}/libexec/ipop3d|g" \ - $${file} > $${f}; \ + $${FILE}.broken > $${FILE}; \ done BUILD_DEFS+= IMAP_UW_MAILSPOOLHOME |