From f93a00fe7edf9e9079b90287d419ca2709c0a876 Mon Sep 17 00:00:00 2001 From: sbd Date: Sat, 3 Dec 2011 03:44:38 +0000 Subject: Add devel/libuuid buildlink on Linux and SunOS only. Bump PKGREVISION --- textproc/xapian/Makefile | 9 ++++++++- textproc/xapian/buildlink3.mk | 11 ++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'textproc') diff --git a/textproc/xapian/Makefile b/textproc/xapian/Makefile index 028bd5951d5..f3e866d0d45 100644 --- a/textproc/xapian/Makefile +++ b/textproc/xapian/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2010/12/03 09:55:33 abs Exp $ +# $NetBSD: Makefile,v 1.13 2011/12/03 03:44:38 sbd Exp $ # DISTNAME= xapian-core-1.2.2 PKGNAME= ${DISTNAME:S/-core//} +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://oligarchy.co.uk/xapian/1.2.2/ @@ -48,5 +49,11 @@ PLIST.flint= yes CONFIGURE_ARGS+= --disable-backend-flint .endif +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" +.include "../../devel/libuuid/buildlink3.mk" +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/xapian/buildlink3.mk b/textproc/xapian/buildlink3.mk index d4f0f26b607..5bded119d91 100644 --- a/textproc/xapian/buildlink3.mk +++ b/textproc/xapian/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:33 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2011/12/03 03:44:38 sbd Exp $ BUILDLINK_TREE+= xapian @@ -6,7 +6,16 @@ BUILDLINK_TREE+= xapian XAPIAN_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.xapian+= xapian>=1.0.7 +BUILDLINK_ABI_DEPENDS.xapian?= xapian>=1.2.2nb1 BUILDLINK_PKGSRCDIR.xapian?= ../../textproc/xapian + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" +.include "../../devel/libuuid/buildlink3.mk" +.endif +.include "../../devel/zlib/buildlink3.mk" + .endif # XAPIAN_BUILDLINK3_MK BUILDLINK_TREE+= -xapian -- cgit v1.2.3