27dd8f518e
- The exception fix in 1.2.25.3 unintentionally broke the build with xapian-core < 1.4.10. To fix this we now generate the exception handling code at build time, and enable the new exceptions based on the version of xapian-core we're building against.
21 lines
642 B
Makefile
21 lines
642 B
Makefile
# $NetBSD: Makefile,v 1.37 2022/03/01 15:45:37 schmonz Exp $
|
|
|
|
DISTNAME= Search-Xapian-1.2.25.5
|
|
PKGNAME= ${DISTNAME:S/^/p5-/}
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Search/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://xapian.org/docs/bindings/perl/Search/Xapian.html
|
|
COMMENT= Perl XS frontend to the Xapian C++ search library
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
BUILD_DEPENDS+= p5-Devel-Leak-[0-9]*:../../devel/p5-Devel-Leak
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
PERL5_PACKLIST= auto/Search/Xapian/.packlist
|
|
|
|
.include "../../textproc/xapian/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|