Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 22:26:25 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496689 - head/databases/mariadb103-client
Message-ID:  <201903232226.x2NMQPQD067188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sat Mar 23 22:26:25 2019
New Revision: 496689
URL: https://svnweb.freebsd.org/changeset/ports/496689

Log:
  databases/mariadb103-client: Fix mariadb_config
  
   * Partial revert of r490140
  
  PR:		235744
  Submitted by:	Dani <i dani outlook com>
  MFH:		2019Q1
  Differential Revision:	https://reviews.freebsd.org/D19691

Modified:
  head/databases/mariadb103-client/Makefile

Modified: head/databases/mariadb103-client/Makefile
==============================================================================
--- head/databases/mariadb103-client/Makefile	Sat Mar 23 20:09:18 2019	(r496688)
+++ head/databases/mariadb103-client/Makefile	Sat Mar 23 22:26:25 2019	(r496689)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mariadb
+PORTREVISION=	1
 PKGNAMESUFFIX=	103-client
 
 COMMENT=	Multithreaded SQL database (client)
@@ -22,6 +23,11 @@ USE_LDCONFIG=	${PREFIX}/lib/mysql
 CLIENT_ONLY=	yes
 
 CONFLICTS_INSTALL=	databases/mytop
+
+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} -r ${STAGEDIR}${DATADIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903232226.x2NMQPQD067188>