| @@ -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 | |
3 | DISTNAME= samba-${VERSION} | | 3 | DISTNAME= samba-${VERSION} |
4 | CATEGORIES= net | | 4 | CATEGORIES= net |
5 | MASTER_SITES= http://download.samba.org/pub/samba/stable/ | | 5 | MASTER_SITES= http://download.samba.org/pub/samba/stable/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://www.samba.org/ | | 8 | HOMEPAGE= http://www.samba.org/ |
9 | COMMENT= SMB/CIFS protocol server suite | | 9 | COMMENT= SMB/CIFS protocol server suite |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
12 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 12 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
13 | | | 13 | |
14 | VERSION= 4.6.2 | | 14 | VERSION= 4.6.2 |
| @@ -40,27 +40,27 @@ SMB_MODULES?= ${SMB_LIB}/samba | | | @@ -40,27 +40,27 @@ SMB_MODULES?= ${SMB_LIB}/samba |
40 | SMB_PRIVATELIB?= ${SMB_LIB}/samba/private | | 40 | SMB_PRIVATELIB?= ${SMB_LIB}/samba/private |
41 | SMB_PRIVSOCKETS?= ${VARBASE}/run | | 41 | SMB_PRIVSOCKETS?= ${VARBASE}/run |
42 | SMB_CONFIG?= ${PKG_SYSCONFDIR} | | 42 | SMB_CONFIG?= ${PKG_SYSCONFDIR} |
43 | SMB_DATAROOT?= ${PREFIX}/share/samba | | 43 | SMB_DATAROOT?= ${PREFIX}/share/samba |
44 | SMB_LOCALE?= ${PREFIX}/share/locale | | 44 | SMB_LOCALE?= ${PREFIX}/share/locale |
45 | SMB_DOC?= ${PREFIX}/share/doc/samba | | 45 | SMB_DOC?= ${PREFIX}/share/doc/samba |
46 | SMB_PAMMODULES?= ${SMB_LIB}/samba/security | | 46 | SMB_PAMMODULES?= ${SMB_LIB}/samba/security |
47 | | | 47 | |
48 | FILES_SUBST+= SMB_CONFIG=${SMB_CONFIG} | | 48 | FILES_SUBST+= SMB_CONFIG=${SMB_CONFIG} |
49 | FILES_SUBST+= SMB_PID=${SMB_PID} | | 49 | FILES_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. |
53 | USE_TOOLS+= gmake mktemp perl:run | | 53 | USE_TOOLS+= gmake mktemp perl:run pkg-config |
54 | | | 54 | |
55 | REPLACE_PERL= script/findsmb.in | | 55 | REPLACE_PERL= script/findsmb.in |
56 | | | 56 | |
57 | USE_GNU_ICONV= yes # FIXME: something doesn't work on NetBSD | | 57 | USE_GNU_ICONV= yes # FIXME: something doesn't work on NetBSD |
58 | BROKEN_GETTEXT_DETECTION=yes | | 58 | BROKEN_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 | |
65 | HAS_CONFIGURE= yes | | 65 | HAS_CONFIGURE= yes |
66 | CONFIGURE_ENV+= XSLTPROC=${FALSE} # suppress generation of man pages | | 66 | CONFIGURE_ENV+= XSLTPROC=${FALSE} # suppress generation of man pages |