summaryrefslogtreecommitdiff
path: root/databases/mysql-client/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-04 23:34:04 +0000
committerjlam <jlam>2004-01-04 23:34:04 +0000
commit31dbec3a55fb3752ef34d7ce6e84b14abfe84227 (patch)
treee66d1a7fb76a2717d0a9349bc523aaa4d7516eff /databases/mysql-client/buildlink3.mk
parent29100881884c776f72b225740fc441c2c9aee7d1 (diff)
downloadpkgsrc-31dbec3a55fb3752ef34d7ce6e84b14abfe84227.tar.gz
Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.
Diffstat (limited to 'databases/mysql-client/buildlink3.mk')
-rw-r--r--databases/mysql-client/buildlink3.mk17
1 files changed, 7 insertions, 10 deletions
diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk
index 6b19103f3b3..da13371341b 100644
--- a/databases/mysql-client/buildlink3.mk
+++ b/databases/mysql-client/buildlink3.mk
@@ -1,22 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/01/04 23:34:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+
-.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M\+)
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= mysql-client
+.endif
+
+.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= mysql-client
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