diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-06-15 05:13:41 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-06-15 05:13:41 +0800 |
commit | a84a6b0f65935b8d4fbbededaea743db48e1dea6 (patch) | |
tree | 6ce1e29d70f5f5b12e84179aa3de1e2e0610dc3a /mail/qmail | |
parent | 4147e698a46792a4a96c023fae13b90cc338d1b6 (diff) | |
download | freebsd-ports-gnome-a84a6b0f65935b8d4fbbededaea743db48e1dea6.tar.gz freebsd-ports-gnome-a84a6b0f65935b8d4fbbededaea743db48e1dea6.tar.zst freebsd-ports-gnome-a84a6b0f65935b8d4fbbededaea743db48e1dea6.zip |
- Fix qmail-mysql build with clang and recent mysql-client
Reported by: miwi via pointyhat
Diffstat (limited to 'mail/qmail')
-rw-r--r-- | mail/qmail/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index a9d8bee97a56..6355b5897403 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -679,7 +679,9 @@ post-patch: . endif .endif .if defined(SLAVE_MYSQL) - @${REINPLACE_CMD} 's|/opt/mysql|${LOCALBASE}|' \ + @${REINPLACE_CMD} \ + -e 's|/opt/mysql|${LOCALBASE}|' \ + -e "s,MYSQL_LIBS=.*,MYSQL_LIBS=\`${LOCALBASE}/bin/mysql_config --libs\`," \ ${WRKSRC}/Makefile .elif defined(SLAVE_SPAMCONTROL) @${ECHO_CMD} ${WRKDIR} > ${WRKSRC}/conf-qmail |