summaryrefslogtreecommitdiff
path: root/databases/mysql-client/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-03 23:06:43 +0000
committerjlam <jlam>2004-01-03 23:06:43 +0000
commit0d6c711ce586532632e1ae1b985d86085faa4580 (patch)
tree7815453a8a5d5cc91288c15c8c52893726b1e2bc /databases/mysql-client/buildlink3.mk
parent7c4feed9a8d4596547ef84ababb069e65e478323 (diff)
downloadpkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'databases/mysql-client/buildlink3.mk')
-rw-r--r--databases/mysql-client/buildlink3.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk
new file mode 100644
index 00000000000..6b19103f3b3
--- /dev/null
+++ b/databases/mysql-client/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+
+
+.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.mysql-client?= mysql-client>=3.23.58
+BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql-client
+BUILDLINK_LDFLAGS.mysql-client?= \
+ -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
+.endif # MYSQL_CLIENT_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= mysql-client
+.endif
+
+.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= mysql-client
+
+. include "../../devel/zlib/buildlink3.mk"
+.endif # MYSQL_CLIENT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}