summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2001-04-24 22:46:53 +0000
committerjedgar <jedgar@FreeBSD.org>2001-04-24 22:46:53 +0000
commita4cebb01825f14160b4f735d34d06b8d8aa14880 (patch)
tree94cdf328aed39be4a2439815f7fefc34b42c64de /net
parent03ae917446c9f9671584a1fff348354f8002afc8 (diff)
downloadFreeBSD-ports-a4cebb01825f14160b4f735d34d06b8d8aa14880.zip
FreeBSD-ports-a4cebb01825f14160b4f735d34d06b8d8aa14880.tar.gz
*** empty log message ***
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