1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

mail/courier: Unbreak by fixing shebang; Add missing dependency

Approved by:	portmgr (port compliance, infrastructure)
This commit is contained in:
Yuri Victorovich 2018-03-19 05:40:52 +00:00
parent f974a4f98b
commit 89013e6dbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464980

View File

@ -14,7 +14,8 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base
LIB_DEPENDS= libpcre.so:devel/pcre
LIB_DEPENDS= libidn.so:dns/libidn \
libpcre.so:devel/pcre
RUN_DEPENDS= courierauthconfig:security/courier-authlib-base \
${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool \
${LOCALBASE}/etc/mime.types:misc/mime-support \
@ -268,6 +269,8 @@ pre-patch:
post-patch:
@${REINPLACE_CMD} -i '' -e 's|#! perl|#!${PERL}|g' \
${WRKSRC}/webadmin/*.pl \
${WRKSRC}/webadmin/*.pl.in \
${WRKSRC}/courier/webadmin/*.pl \
${WRKSRC}/courier/webadmin/*.pl.in
@${REINPLACE_CMD} -e 's|^PROG=\./|PROG=exec ./|g' \