1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix build with latest clang when option AUTHLIB is turned on (default off)

PR:             ports/189364
Submitted by:   Andre Lehmann <blacktux82@gmail.com>
MFH:            2014Q2
This commit is contained in:
Guido Falsi 2014-05-05 16:40:54 +00:00
parent db7bde8a7e
commit 91d9883a9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353031

View File

@ -114,7 +114,7 @@ post-patch:
-e "s/\(deliverquota.html\)/maildrop-\1/" ${WRKSRC}/${f}
.endfor
.if ${PORT_OPTIONS:MAUTHLIB}
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -L${LOCALBASE}/lib/courier-authlib|' \
${WRKSRC}/libs/maildrop/Makefile.in
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"