From 9eb6517e9e473d5bd17d800c450d3c00d1edfff0 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 4 Jan 2004 23:46:39 +0000 Subject: Use BUILDLINK_{INCDIRS,LIBDIRS}. instead of BUILDLINK_{CPPFLAGS,LDFLAGS}. where we're adding search directories. Using the former should do the right thing for pkgviews if we do binary package upgrades of dependencies by inserting the right default view directories into the search path as well. --- databases/mysql-client/buildlink3.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'databases/mysql-client') diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk index da13371341b..6685b16288a 100644 --- a/databases/mysql-client/buildlink3.mk +++ b/databases/mysql-client/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2004/01/04 23:34:05 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2004/01/04 23:46:39 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+ @@ -11,9 +11,7 @@ BUILDLINK_DEPENDS+= mysql-client 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 +BUILDLINK_LIBDIRS.mysql-client?= lib/mysql . include "../../devel/zlib/buildlink3.mk" .endif # MYSQL_CLIENT_BUILDLINK3_MK -- cgit v1.2.3