Don't build and install the man page (which isn't in PLIST, and

would need heavy dependencies to add) just because xsltproc happens
to find docbook.xsl on a given system.
This commit is contained in:
schmonz 2014-11-19 15:36:26 +00:00
parent 46e2a56ed2
commit cc5909aad2
2 changed files with 18 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2014/05/30 13:51:12 wiz Exp $
$NetBSD: distinfo,v 1.3 2014/11/19 15:36:26 schmonz Exp $
SHA1 (talloc-2.1.1.tar.gz) = 380bb786274dfd1a4a8179d31cd88cbee15c97bf
RMD160 (talloc-2.1.1.tar.gz) = 5f77b5da4a593129e7381ff539bde46eef034c28
Size (talloc-2.1.1.tar.gz) = 418564 bytes
SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = 8e40688a23fbf6112153b82a538df8801bf96247

View file

@ -0,0 +1,16 @@
$NetBSD: patch-buildtools_wafsamba_samba__conftests.py,v 1.1 2014/11/19 15:36:26 schmonz Exp $
Don't build and install the man page just because xsltproc happens
to find docbook.xsl on a given system.
--- buildtools/wafsamba/samba_conftests.py.orig 2013-06-04 14:21:30.000000000 +0000
+++ buildtools/wafsamba/samba_conftests.py
@@ -491,6 +491,8 @@ def CHECK_INLINE(conf):
@conf
def CHECK_XSLTPROC_MANPAGES(conf):
'''check if xsltproc can run with the given stylesheets'''
+ if "pkgsrc":
+ return False
if not conf.CONFIG_SET('XSLTPROC'):