diff options
author | tron <tron> | 2004-09-06 19:55:07 +0000 |
---|---|---|
committer | tron <tron> | 2004-09-06 19:55:07 +0000 |
commit | 12177e25dae29519fa99e24ef97588876fb8572a (patch) | |
tree | e63eff1aea74b64080ba54e343ad3f432a8e1c63 /mail | |
parent | 9795973c1c826f3735c446e338897675e44e0127 (diff) | |
download | pkgsrc-12177e25dae29519fa99e24ef97588876fb8572a.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')
-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 |