databases/mariadb102-client: Fix mariadb_config output
- While here, standardize on -pthread PR: 226049 Reported by: fcharlier ploup net
This commit is contained in:
parent
69fc8d0913
commit
eeb0841d29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469632
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTREVISION= 3
|
||||
PKGNAMESUFFIX= 102-client
|
||||
|
||||
COMMENT= Multithreaded SQL database (client)
|
||||
@ -22,7 +23,7 @@ CLIENT_ONLY= yes
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \
|
||||
-e 's|(#define LIBS.*)"\\ $$|\1 -L${PREFIX}/lib "\\|' \
|
||||
-e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \
|
||||
${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c
|
||||
|
||||
post-install:
|
||||
@ -33,7 +34,7 @@ post-install:
|
||||
${STAGEDIR}${DATADIR}/policy \
|
||||
${STAGEDIR}${PREFIX}/include/mysql/server
|
||||
# Fix https://mariadb.atlassian.net/browse/MDEV-9388
|
||||
@${REINPLACE_CMD} 's/-l-pthread/-lpthread/' ${STAGEDIR}${PREFIX}/bin/mysql_config
|
||||
@${REINPLACE_CMD} 's/-l-pthread/-pthread/' ${STAGEDIR}${PREFIX}/bin/mysql_config
|
||||
|
||||
post-install-GSSAPI_NONE:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so
|
||||
|
Loading…
Reference in New Issue
Block a user