From 4682a83b7568964e5c8d13230804ed8551749490 Mon Sep 17 00:00:00 2001 From: snj Date: Sat, 8 May 2004 07:37:40 +0000 Subject: Convert to buildlink3. --- net/yaz/Makefile | 6 +++--- net/yaz/buildlink2.mk | 25 ------------------------- net/yaz/buildlink3.mk | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 28 deletions(-) delete mode 100644 net/yaz/buildlink2.mk create mode 100644 net/yaz/buildlink3.mk (limited to 'net/yaz') diff --git a/net/yaz/Makefile b/net/yaz/Makefile index 288be764cfc..573fa92dee5 100644 --- a/net/yaz/Makefile +++ b/net/yaz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:49 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2004/05/08 07:37:41 snj Exp $ # DISTNAME= yaz-2.0 @@ -10,13 +10,13 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://indexdata.dk/yaz COMMENT= C/C++ toolkit for the development of Z39.50v3/SRW clients and servers -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_LIBTOOL= YES GNU_CONFIGURE= YES PTHREAD_OPTS+= native optional -.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" PLIST_SUBST+= YAZTHREAD="@comment " .else diff --git a/net/yaz/buildlink2.mk b/net/yaz/buildlink2.mk deleted file mode 100644 index ee5976139e9..00000000000 --- a/net/yaz/buildlink2.mk +++ /dev/null @@ -1,25 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.1 2003/05/16 12:41:44 dmcmahill Exp $ -# -# This Makefile fragment is included by packages that use yaz. -# -# This file was created automatically using createbuildlink 2.4. -# - -.if !defined(YAZ_BUILDLINK2_MK) -YAZ_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= yaz -BUILDLINK_DEPENDS.yaz?= yaz>=2.0 -BUILDLINK_PKGSRCDIR.yaz?= ../../net/yaz - -EVAL_PREFIX+= BUILDLINK_PREFIX.yaz=yaz -BUILDLINK_PREFIX.yaz_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.yaz+= include/yaz/*.h -BUILDLINK_FILES.yaz+= lib/libyaz.* -BUILDLINK_FILES.yaz+= lib/libyazmalloc.* - -BUILDLINK_TARGETS+= yaz-buildlink - -yaz-buildlink: _BUILDLINK_USE - -.endif # YAZ_BUILDLINK2_MK diff --git a/net/yaz/buildlink3.mk b/net/yaz/buildlink3.mk new file mode 100644 index 00000000000..ee83666a082 --- /dev/null +++ b/net/yaz/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/08 07:37:41 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +YAZ_BUILDLINK3_MK:= ${YAZ_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= yaz +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nyaz} +BUILDLINK_PACKAGES+= yaz + +.if !empty(YAZ_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.yaz+= yaz>=2.0 +BUILDLINK_PKGSRCDIR.yaz?= ../../net/yaz +.endif # YAZ_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3