1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Fix qmail-mysql build with clang and recent mysql-client

Reported by:	miwi via pointyhat
This commit is contained in:
Bryan Drewery 2013-06-14 21:13:41 +00:00
parent 21aa5014e7
commit aff2c3704c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320964
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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