pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql80-client mysql80: Build out of srcdir.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef04f6317bc8
branches: trunk
changeset: 387631:ef04f6317bc8
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Nov 02 21:17:32 2022 +0000
description:
mysql80: Build out of srcdir.
diffstat:
databases/mysql80-client/Makefile | 6 ++++--
databases/mysql80-client/Makefile.common | 8 +++++++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r 149d80ea337c -r ef04f6317bc8 databases/mysql80-client/Makefile
--- a/databases/mysql80-client/Makefile Wed Nov 02 21:05:01 2022 +0000
+++ b/databases/mysql80-client/Makefile Wed Nov 02 21:17:32 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/11/02 17:02:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.7 2022/11/02 21:17:32 jperkin Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= MySQL 8, a free SQL database (client)
@@ -10,6 +10,8 @@
CMAKE_ARGS+= -DWITHOUT_SERVER=ON
UNWRAP_FILES+= scripts/mysql_config
INFO_FILES= yes
-INSTALL_DIRS+= client include libmysql man scripts testclients
+.for dir in client include libmysql man scripts testclients
+INSTALL_DIRS+= ${WRKDIR}/build/${dir}
+.endfor
.include "../../mk/bsd.pkg.mk"
diff -r 149d80ea337c -r ef04f6317bc8 databases/mysql80-client/Makefile.common
--- a/databases/mysql80-client/Makefile.common Wed Nov 02 21:05:01 2022 +0000
+++ b/databases/mysql80-client/Makefile.common Wed Nov 02 21:17:32 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2022/11/02 17:02:10 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.4 2022/11/02 21:17:32 jperkin Exp $
#
# used by databases/mysql80-client/Makefile
# used by databases/mysql80-server/Makefile
@@ -44,6 +44,12 @@
BUILD_DEFS+= VARBASE
+CONFIGURE_DIRS= ${WRKDIR}/build
+CMAKE_ARG_PATH= ${WRKSRC}
+
+pre-configure:
+ ${MKDIR} ${WRKDIR}/build
+
# paths
CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql"
CMAKE_ARGS+= -DINSTALL_DOCREADMEDIR="share/doc/mysql"
Home |
Main Index |
Thread Index |
Old Index