mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix qmail-mysql build with clang and recent mysql-client
Reported by: miwi via pointyhat
This commit is contained in:
parent
21aa5014e7
commit
aff2c3704c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320964
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user