mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
databases/mariadb102-client: Fix linking issues in downstream ports
- mariadb_config produces incorrect output [1] 1: https://jira.mariadb.org/browse/MDEV-14439 Reported by: Alexandre
This commit is contained in:
parent
c649b8fe70
commit
21969052f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454463
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTREVISION= 1
|
||||
PKGNAMESUFFIX= 102-client
|
||||
|
||||
COMMENT= Multithreaded SQL database (client)
|
||||
@ -20,6 +21,11 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
|
||||
|
||||
CLIENT_ONLY= yes
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \
|
||||
-e 's|(#define LIBS.*)"\\ $$|\1 -L${PREFIX}/lib "\\|' \
|
||||
${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c
|
||||
|
||||
post-install:
|
||||
${RM} ${STAGEDIR}${PREFIX}/share/aclocal/mysql.m4
|
||||
${RM} -r ${STAGEDIR}${PREFIX}/share/pkgconfig
|
||||
|
Loading…
Reference in New Issue
Block a user