aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-10-20 15:37:57 +0800
committerleeym <leeym@FreeBSD.org>2003-10-20 15:37:57 +0800
commit5e5ca0f009a1c411a724c78d88aae3fccde4b7e2 (patch)
treeb8111fac82d987ca6edcdef06b2100cfc70d6436 /mail
parent25b1f42296c3a427a048c6f897409a70b5e183ad (diff)
downloadfreebsd-ports-gnome-5e5ca0f009a1c411a724c78d88aae3fccde4b7e2.tar.gz
freebsd-ports-gnome-5e5ca0f009a1c411a724c78d88aae3fccde4b7e2.tar.zst
freebsd-ports-gnome-5e5ca0f009a1c411a724c78d88aae3fccde4b7e2.zip
Don't override config file during installation.
Submitted by: Rong-en Fan <rafan@infor.org>
Diffstat (limited to 'mail')
-rw-r--r--mail/openwebmail/Makefile7
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