aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-06-15 05:13:41 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-06-15 05:13:41 +0800
commita84a6b0f65935b8d4fbbededaea743db48e1dea6 (patch)
tree6ce1e29d70f5f5b12e84179aa3de1e2e0610dc3a /mail
parent4147e698a46792a4a96c023fae13b90cc338d1b6 (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--mail/qmail/Makefile4
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
gi/freebsd-ports-gnome/commit/irc/ngircd?id=bddecab44f37f62dd9af25679ec113b48c0e3113'>Fix plist with -DNOPORTDOCS.itetcu2009-04-081-5/+10 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Return laszlof's ports to the pool due to lack of time.linimon2008-08-191-1/+1 * Update to 0.10.1laszlof2006-12-192-4/+4 * Update to 0.10.0laszlof2006-12-125-25/+22 * Update my email address in all ports that I maintain.laszlof2006-11-071-1/+1 * - Use OPTIONS and add more optionsmnag2006-02-142-26/+61 * - Add SHA256 to all ports submitter maintaingarga2005-11-111-0/+1 * Update to 0.9.2mnag2005-10-203-18/+17 * Drop maintainership, since I'm buried in the $REALLIFE stuff.krion2005-09-141-1/+1 * Update to 0.9.1krion2005-08-282-3/+3 * Update to 0.9.0krion2005-07-272-3/+3 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Update to 0.8.3krion2005-02-032-3/+3 * Update to 0.8.2krion2005-01-282-3/+3 * Update to 0.8.1krion2004-12-253-13/+13 * Fix build with ident support.krion2004-09-011-0/+4 * Update to 0.8.0krion2004-07-042-4/+12 * - Update to version 0.7.7krion2004-02-082-4/+3 * - SIZEifykrion2004-01-302-1/+3 * - Update to 0.7.6krion2003-12-092-3/+3 * - Update to version 0.7.5krion2003-11-092-3/+2 * - s/USE_TCP_WRAPPERS/WITH_TCP_WRAPPERS/gkrion2003-10-262-8/+4 * Change my mail to @FreeBSD.orgkrion2003-07-221-1/+1 * Update to 0.7.1oliver2003-07-206-38/+32 * Fix 'make package' error.vanilla2003-05-071-1/+1 * Add two missing manpage.vanilla2003-05-041-1/+4