Mon Apr 10 15:27:22 2017 UTC ()
Add pkg-config to USE_TOOLS, which is needed to find gnutls.
Problem found in a bulk build.  Not bumping PKGREVISION since it
shouldn't change the binary package when it built.


(jnemeth)
diff -r1.28 -r1.29 pkgsrc/net/samba4/Makefile

cvs diff -r1.28 -r1.29 pkgsrc/net/samba4/Makefile (expand / switch to unified diff)

--- pkgsrc/net/samba4/Makefile 2017/04/08 08:56:27 1.28
+++ pkgsrc/net/samba4/Makefile 2017/04/10 15:27:22 1.29
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.28 2017/04/08 08:56:27 ryoon Exp $ 1# $NetBSD: Makefile,v 1.29 2017/04/10 15:27:22 jnemeth Exp $
2 2
3DISTNAME= samba-${VERSION} 3DISTNAME= samba-${VERSION}
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= http://download.samba.org/pub/samba/stable/ 5MASTER_SITES= http://download.samba.org/pub/samba/stable/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://www.samba.org/ 8HOMEPAGE= http://www.samba.org/
9COMMENT= SMB/CIFS protocol server suite 9COMMENT= SMB/CIFS protocol server suite
10LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
11 11
12DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 12DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
13 13
14VERSION= 4.6.2 14VERSION= 4.6.2
@@ -40,27 +40,27 @@ SMB_MODULES?= ${SMB_LIB}/samba @@ -40,27 +40,27 @@ SMB_MODULES?= ${SMB_LIB}/samba
40SMB_PRIVATELIB?= ${SMB_LIB}/samba/private 40SMB_PRIVATELIB?= ${SMB_LIB}/samba/private
41SMB_PRIVSOCKETS?= ${VARBASE}/run 41SMB_PRIVSOCKETS?= ${VARBASE}/run
42SMB_CONFIG?= ${PKG_SYSCONFDIR} 42SMB_CONFIG?= ${PKG_SYSCONFDIR}
43SMB_DATAROOT?= ${PREFIX}/share/samba 43SMB_DATAROOT?= ${PREFIX}/share/samba
44SMB_LOCALE?= ${PREFIX}/share/locale 44SMB_LOCALE?= ${PREFIX}/share/locale
45SMB_DOC?= ${PREFIX}/share/doc/samba 45SMB_DOC?= ${PREFIX}/share/doc/samba
46SMB_PAMMODULES?= ${SMB_LIB}/samba/security 46SMB_PAMMODULES?= ${SMB_LIB}/samba/security
47 47
48FILES_SUBST+= SMB_CONFIG=${SMB_CONFIG} 48FILES_SUBST+= SMB_CONFIG=${SMB_CONFIG}
49FILES_SUBST+= SMB_PID=${SMB_PID} 49FILES_SUBST+= SMB_PID=${SMB_PID}
50 50
51# mktemp is useful for the replacement adduser script, but don't require 51# mktemp is useful for the replacement adduser script, but don't require
52# a full dependency since it's not actually needed by samba. 52# a full dependency since it's not actually needed by samba.
53USE_TOOLS+= gmake mktemp perl:run 53USE_TOOLS+= gmake mktemp perl:run pkg-config
54 54
55REPLACE_PERL= script/findsmb.in 55REPLACE_PERL= script/findsmb.in
56 56
57USE_GNU_ICONV= yes # FIXME: something doesn't work on NetBSD 57USE_GNU_ICONV= yes # FIXME: something doesn't work on NetBSD
58BROKEN_GETTEXT_DETECTION=yes 58BROKEN_GETTEXT_DETECTION=yes
59 59
60# Debugging 60# Debugging
61#CONFIGURE_ARGS+= -vvv 61#CONFIGURE_ARGS+= -vvv
62#CONFIGURE_ARGS+= --enable-developer 62#CONFIGURE_ARGS+= --enable-developer
63#CONFIGURE_ARGS+= --fatal-errors 63#CONFIGURE_ARGS+= --fatal-errors
64 64
65HAS_CONFIGURE= yes 65HAS_CONFIGURE= yes
66CONFIGURE_ENV+= XSLTPROC=${FALSE} # suppress generation of man pages 66CONFIGURE_ENV+= XSLTPROC=${FALSE} # suppress generation of man pages