diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-20 07:37:57 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-20 07:37:57 +0000 |
commit | 1b19d3a60ac567a856f99d97357c1a9791d2c891 (patch) | |
tree | 30a2cbf83e38fbfd03f704a51ff1b8ba11a4b019 /mail | |
parent | Undo update of net/linphone. The port uses some kind of programming (diff) |
Don't override config file during installation.
Submitted by: Rong-en Fan <rafan@infor.org>
Notes
Notes:
svn path=/head/; revision=91708
Diffstat (limited to 'mail')
-rw-r--r-- | mail/openwebmail/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile index 29fb754a7916..dce72cb05f82 100644 --- a/mail/openwebmail/Makefile +++ b/mail/openwebmail/Makefile @@ -96,10 +96,11 @@ pre-fetch: .endif post-patch: - @${PERL} -pi.bak -e 's,/usr/local/www/cgi-bin/openwebmail,${OWCGIDIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf - @${PERL} -pi.bak -e 's,/usr/local/www/data/openwebmail,${OWDATADIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf + @${MV} ${PATCH_WRKSRC}/etc/openwebmail.conf ${PATCH_WRKSRC}/etc/openwebmail.conf-dist + @${PERL} -pi.bak -e 's,/usr/local/www/cgi-bin/openwebmail,${OWCGIDIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist + @${PERL} -pi.bak -e 's,/usr/local/www/data/openwebmail,${OWDATADIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist .if !defined(WITHOUT_SPEEDYCGI) - @${ECHO} "savedsuid_support no" >> ${PATCH_WRKSRC}/etc/openwebmail.conf + @${ECHO} "savedsuid_support no" >> ${PATCH_WRKSRC}/etc/openwebmail.conf-dist @${PERL} -pi.bak -e 's,/usr/local/bin/speedy,${LOCALBASE}/bin/speedy_suid,g' ${PATCH_WRKSRC}/openwebmail*pl .else @${PERL} -pi.bak -e 's,/usr/bin/suidperl,${PERL},g' ${PATCH_WRKSRC}/openwebmail*pl |