diff options
author | snj <snj@pkgsrc.org> | 2004-05-08 07:37:40 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-08 07:37:40 +0000 |
commit | 4682a83b7568964e5c8d13230804ed8551749490 (patch) | |
tree | 56b3ca831a1f369bfd85684331e2795a12a2fc22 /net/yaz | |
parent | 9b413b14cd8d64e48ad86afc78a1d06471627831 (diff) | |
download | pkgsrc-4682a83b7568964e5c8d13230804ed8551749490.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'net/yaz')
-rw-r--r-- | net/yaz/Makefile | 6 | ||||
-rw-r--r-- | net/yaz/buildlink2.mk | 25 | ||||
-rw-r--r-- | net/yaz/buildlink3.mk | 18 |
3 files changed, 21 insertions, 28 deletions
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/+$//} |