pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mysql80-client



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Nov  2 21:17:32 UTC 2022

Modified Files:
        pkgsrc/databases/mysql80-client: Makefile Makefile.common

Log Message:
mysql80: Build out of srcdir.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/mysql80-client/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/mysql80-client/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mysql80-client/Makefile
diff -u pkgsrc/databases/mysql80-client/Makefile:1.6 pkgsrc/databases/mysql80-client/Makefile:1.7
--- pkgsrc/databases/mysql80-client/Makefile:1.6        Wed Nov  2 17:02:10 2022
+++ pkgsrc/databases/mysql80-client/Makefile    Wed Nov  2 21:17:32 2022
@@ -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 @@ CONFLICTS=    mysql3-client-[0-9]* mariadb-
 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"

Index: pkgsrc/databases/mysql80-client/Makefile.common
diff -u pkgsrc/databases/mysql80-client/Makefile.common:1.3 pkgsrc/databases/mysql80-client/Makefile.common:1.4
--- pkgsrc/databases/mysql80-client/Makefile.common:1.3 Wed Nov  2 17:02:10 2022
+++ pkgsrc/databases/mysql80-client/Makefile.common     Wed Nov  2 21:17:32 2022
@@ -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 @@ CONFIG_SHELL=                ${TOOLS_PATH.bash}
 
 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