aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libmapi
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-03-22 05:59:31 +0800
committerantoine <antoine@FreeBSD.org>2017-03-22 05:59:31 +0800
commiteb72ca76ef7d9878d3f76537c542facb8c32ae2f (patch)
tree2b6d3a0598b45365f230c6f61cf8d8d784b7016d /mail/libmapi
parentcf2c58c36e6fc12c07af66a17b3dc7f4cb4bb649 (diff)
downloadfreebsd-ports-gnome-eb72ca76ef7d9878d3f76537c542facb8c32ae2f.tar.gz
freebsd-ports-gnome-eb72ca76ef7d9878d3f76537c542facb8c32ae2f.tar.zst
freebsd-ports-gnome-eb72ca76ef7d9878d3f76537c542facb8c32ae2f.zip
- Add USES=samba to handle dependency on samba
Valid ARGS: build, env, lib, run (default: build,run) - Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3) - Remove obsolete samba36 ports - Modify samba4x ports to install libsmbclient - Convert the ports tree to USES=samba Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D8919
Diffstat (limited to 'mail/libmapi')
-rw-r--r--mail/libmapi/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/mail/libmapi/Makefile b/mail/libmapi/Makefile
index 2a1cbea650fc..5909ddfb329f 100644
--- a/mail/libmapi/Makefile
+++ b/mail/libmapi/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libmapi
PORTVERSION= 2.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= https://github.com/openchange/openchange/archive/
DISTNAME= openchange-${PORTVERSION}-${CODENAME}
@@ -28,7 +28,7 @@ WRKSRC= ${WRKDIR}/openchange-openchange-${PORTVERSION}-${CODENAME}
USE_MYSQL= yes
USES= autoreconf:build bison compiler:c++11-lib gmake pathfix \
- pkgconfig python shebangfix sqlite
+ pkgconfig python samba:lib shebangfix sqlite
PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -48,24 +48,18 @@ SHEBANG_FILES= libmapi/conf/mparse.pl \
OPTIONS_SUB= yes
OPTIONS_DEFINE= BOOST DOXYGEN
-# SAMBA43
OPTIONS_DEFAULT=BOOST
BOOST_LIB_DEPENDS= libboost_thread.so:devel/boost-libs
BOOST_CONFIGURE_ENV_OFF= ov_cv_boost_thread=no
BOOST_DESC= libmapi C++ library (needs boost)
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_path_DOXYGEN=""
-SAMBA43_DESC= Build agains samba 4.3 instead of 4.2
+PLIST_SUB= SAMBA=${SAMBAPORT:T}
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-# no support for samba 4.3 yet
-.if ${PORT_OPTIONS:MSAMBA43}
-SAMBA_DEP= samba43>=4.3.0:net/samba43
-PLIST_SUB+= SAMBA=samba43
-.else
-SAMBA_DEP= samba42>=4.2.0:net/samba42
-PLIST_SUB+= SAMBA=samba42
+.if ${SAMBA_DEFAULT} == 4.4
+BROKEN= fails to build
.endif
# --enable-openchange-qt4 Compile OpenChange Qt4 wrapper.
@@ -89,4 +83,4 @@ post-install:
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/shared-modules/dcerpc_server/*.so
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/modules/dcerpc_mapiproxy*/*.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>