mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Fixed(?) problem with the late enabling of USES+=fam.
This commit is contained in:
parent
ca14626cce
commit
cfe8955333
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340005
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME?= ${SAMBA4_BASENAME}41
|
||||
PORTVERSION?= ${SAMBA4_VERSION}
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SAMBA}
|
||||
MASTER_SITE_SUBDIR= samba/stable samba/rc
|
||||
@ -147,13 +147,6 @@ OPTIONS_DEFAULT+= AVAHI
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# !SAMBA4_SUBPORT
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(SAMBA4_SUBPORT)
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-pam \
|
||||
--with-iconv \
|
||||
@ -340,6 +333,13 @@ CONFIGURE_ARGS+= --without-ldap
|
||||
PLIST_SUB+= LDAP="@comment "
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MMANPAGES}
|
||||
CONFIGURE_ENV+= XSLTPROC="true"
|
||||
.else
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
|
||||
xsltproc:${PORTSDIR}/textproc/libxslt
|
||||
.endif
|
||||
|
||||
.if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES)
|
||||
SAMBA4_MODULES+= ${WANT_EXP_MODULES}
|
||||
CONFIGURE_ARGS+= --with-shared-modules="${WANT_EXP_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}"
|
||||
@ -355,13 +355,13 @@ PLIST_REINPLACE+= ${m}
|
||||
PLIST_REINPLACE_${m:U}= s|^@comment ${m} ||g
|
||||
.endfor
|
||||
##############################################################################
|
||||
.if ! ${PORT_OPTIONS:MMANPAGES}
|
||||
CONFIGURE_ENV+= XSLTPROC="true"
|
||||
.else
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
|
||||
xsltproc:${PORTSDIR}/textproc/libxslt
|
||||
# !SAMBA4_SUBPORT
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(SAMBA4_SUBPORT)
|
||||
|
||||
SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \
|
||||
SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \
|
||||
SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \
|
||||
@ -533,7 +533,6 @@ post-install:
|
||||
@${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}"
|
||||
.endfor
|
||||
|
||||
|
||||
.if ${PORT_OPTIONS:MDEVELOPER}
|
||||
test: build
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} $@)
|
||||
|
Loading…
Reference in New Issue
Block a user