summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/buildlink2.mk
diff options
context:
space:
mode:
authormartti <martti>2003-12-20 16:00:12 +0000
committermartti <martti>2003-12-20 16:00:12 +0000
commitf88acb3f29036c836a785a470d188a0fc215bff1 (patch)
tree3f0ee3e4ed1974c25b4eb9d8ef9d24730a624546 /databases/mysql4-client/buildlink2.mk
parentffe1c5db317739d140ddc1476d16c48b0c04c758 (diff)
downloadpkgsrc-f88acb3f29036c836a785a470d188a0fc215bff1.tar.gz
MySQL is a SQL (Structured Query Language) database server. SQL is the
most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL client programs and libraries.
Diffstat (limited to 'databases/mysql4-client/buildlink2.mk')
-rw-r--r--databases/mysql4-client/buildlink2.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/mysql4-client/buildlink2.mk b/databases/mysql4-client/buildlink2.mk
new file mode 100644
index 00000000000..47341ae5bf0
--- /dev/null
+++ b/databases/mysql4-client/buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+.if !defined(MYSQL_CLIENT_BUILDLINK2_MK)
+MYSQL_CLIENT_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= mysql-client
+BUILDLINK_DEPENDS.mysql-client?= mysql-client>=4.0.17
+BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql4-client
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.mysql-client=mysql-client
+BUILDLINK_PREFIX.mysql-client_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.mysql-client= include/mysql/*.h
+BUILDLINK_FILES.mysql-client+= lib/mysql/libmysqlclient.*
+
+FIX_RPATH+= BUILDLINK_LDFLAGS.mysql-client
+BUILDLINK_LDFLAGS.mysql-client= \
+ -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= mysql-client-buildlink
+
+mysql-client-buildlink: _BUILDLINK_USE
+
+.endif # MYSQL_CLIENT_BUILDLINK2_MK