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 | |
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')
-rw-r--r-- | mail/qmail-mysql/Makefile | 1 | ||||
-rw-r--r-- | mail/qmail/Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mail/qmail-mysql/Makefile b/mail/qmail-mysql/Makefile index a21a9ec85eaa..ea731e0a5f5f 100644 --- a/mail/qmail-mysql/Makefile +++ b/mail/qmail-mysql/Makefile @@ -16,7 +16,6 @@ MYSQL_PATCH_VERSION= 1.1.15 SLAVE_MYSQL= yes USE_MYSQL= yes -USE_GCC= any MASTERDIR= ${.CURDIR}/../qmail DESCR= ${.CURDIR}/pkg-descr 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 |