1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- catch all sendmail paths

- be more specific in replacing /mysql/Pg/
- bump PORTREVISION
This commit is contained in:
Olli Hauer 2015-05-31 17:40:24 +00:00
parent da2779ef61
commit b15986fc24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388123

View File

@ -2,6 +2,7 @@
PORTNAME= bugzilla
PORTVERSION= 4.4.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= BUGZILLA/webtools BUGZILLA/webtools/archived
@ -176,11 +177,11 @@ post-patch:
${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl \
${WRKSRC}/docs/en/html/api/importxml.html
${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.html -o -name \*.pl -o -name \*.pm -o -name \*.t -o -name \*.txt -o -name \*.xml \) \
-exec ${SED} -i '' -e "s!/usr/lib/sendmail.exe!/usr/sbin/sendmail!g; \
s=/usr/bin/perl=${PERL}=g; \
-exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \
s!/usr/lib/sendmail!/usr/sbin/sendmail!g; \
s!/var/www/html/bugzilla!${WWWDIR}!" {} \+
.if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL}
${REINPLACE_CMD} -e 's/mysql/Pg/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm
${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm
.endif
pre-install: