summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/samba-devel/Makefile12
-rw-r--r--net/samba3/Makefile12
2 files changed, 22 insertions, 2 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile
index 3baf802..3722078 100644
--- a/net/samba-devel/Makefile
+++ b/net/samba-devel/Makefile
@@ -36,10 +36,20 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
--with-sambabook=${PREFIX}/share/swat/using_samba \
--with-lockdir=${VARDIR}/lock --with-privatedir=${SAMBA_PRIVATE}
+.include <bsd.port.pre.mk>
+
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
.endif
+.if defined(WITH_ACL_SUPPORT)
+.if ${OSVERSION} < 500018
+BROKEN= "Requires a recent FreeBSD 5.0-CURRENT"
+.else
+CONFIGURE_ARGS+=--with-acl-support
+.endif
+.endif
+
WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAN1= findsmb.1 make_smbcodepage.1 rpcclient.1 make_unicodemap.1 \
@@ -114,4 +124,4 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/swat/README ${PREFIX}/share/doc/samba/README.swat
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index 3baf802..3722078 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -36,10 +36,20 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
--with-sambabook=${PREFIX}/share/swat/using_samba \
--with-lockdir=${VARDIR}/lock --with-privatedir=${SAMBA_PRIVATE}
+.include <bsd.port.pre.mk>
+
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
.endif
+.if defined(WITH_ACL_SUPPORT)
+.if ${OSVERSION} < 500018
+BROKEN= "Requires a recent FreeBSD 5.0-CURRENT"
+.else
+CONFIGURE_ARGS+=--with-acl-support
+.endif
+.endif
+
WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAN1= findsmb.1 make_smbcodepage.1 rpcclient.1 make_unicodemap.1 \
@@ -114,4 +124,4 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/swat/README ${PREFIX}/share/doc/samba/README.swat
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud