summaryrefslogtreecommitdiff
path: root/databases/mysql-client/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-11-23 16:07:01 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-11-23 16:07:01 +0000
commit3e8a4ea4a3578ad5ab3436741df5371a809a81d5 (patch)
tree17b6f873d11f7c18aedaa89c2010d605fb6339ba /databases/mysql-client/Makefile
parent0f16d7c631d97c82f08280b410c2a8134ce339c8 (diff)
downloadpkgsrc-3e8a4ea4a3578ad5ab3436741df5371a809a81d5.tar.gz
* Install my-{huge,large,innodb-heavy-4G,small,medium}.cnf example files.
* Use PTHREAD_AUTO_VARS=no to disable linking to libpthread all programs and libraries, which is wrong. * Set USE_LIBTOOL and GNU_CONFIGURE before including bsd.prefs.mk, so the test for _OPSYS_MAX_CMDLEN is not skipped. Bump PKGREVISION to each package respectively (mysql-client and mysql4-client), closes PR pkg/28162 and PR pkg/28222.
Diffstat (limited to 'databases/mysql-client/Makefile')
-rw-r--r--databases/mysql-client/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile
index 13c5e18d2dc..802192f6589 100644
--- a/databases/mysql-client/Makefile
+++ b/databases/mysql-client/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2004/11/16 18:01:11 xtraeme Exp $
+# $NetBSD: Makefile,v 1.38 2004/11/23 16:07:01 xtraeme Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= MySQL 4, a free SQL database (client)
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
@@ -19,6 +19,11 @@ INFO_FILES= mysql.info
post-install:
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mysql
+.for f in huge large innodb-heavy-4G small medium
+ ${INSTALL_DATA} ${WRKSRC}/support-files/my-${f}.cnf.sh \
+ ${PREFIX}/share/examples/mysql/my-${f}.cnf
+.endfor
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"