Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 04:50:43 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381246 - in head/mail/cyrus-imapd25: . files
Message-ID:  <201503140450.t2E4ohJl026228@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Sat Mar 14 04:50:42 2015
New Revision: 381246
URL: https://svnweb.freebsd.org/changeset/ports/381246
QAT: https://qat.redports.org/buildarchive/r381246/

Log:
  Make it buildable with HTTP option enabled.

Added:
  head/mail/cyrus-imapd25/files/patch-tools__vzic__Makefile   (contents, props changed)
Modified:
  head/mail/cyrus-imapd25/Makefile

Modified: head/mail/cyrus-imapd25/Makefile
==============================================================================
--- head/mail/cyrus-imapd25/Makefile	Sat Mar 14 04:22:37 2015	(r381245)
+++ head/mail/cyrus-imapd25/Makefile	Sat Mar 14 04:50:42 2015	(r381246)
@@ -39,10 +39,10 @@ CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib
 CPPFLAGS+=	-I${LOCALBASE}/include
 MAKE_JOBS_UNSAFE=	yes
 
-OPTIONS_DEFINE=		AUTOCREATE BDB CLAMAV HTTP IDLED LDAP MURDER MYSQL \
+OPTIONS_DEFINE=		AUTOCREATE BDB HTTP IDLED LDAP MURDER MYSQL \
 			NETSCAPEHACK NNTP PGSQL REPLICATION SNMP SQLITE DOCS \
 			EXAMPLES
-#OPTIONS_DEFINE+=	DRAC
+#OPTIONS_DEFINE+=	CLAMAV DRAC
 OPTIONS_DEFAULT=	BDB IDLED
 OPTIONS_SUB=		yes
 AUTOCREATE_DESC=	Enable autocreate support
@@ -51,17 +51,18 @@ BDB_USE=		BDB=yes
 BDB_CONFIGURE_ON=	--with-bdb-incdir=${BDB_INCLUDE_DIR} \
 			--with-bdb-libdir=${LOCALBASE}/lib
 CLAMAV_DESC=		Use ClamAV
-CLAMAV_CONFIGURE_ON=	--with-clamav=${LOCALBASE}
-CLAMAV_CONFIGURE_OFF=	--with-clamav=no
+CLAMAV_CONFIGURE_WITH=	clamav
 CLAMAV_LIB_DEPENDS=	libclamav.so:${PORTSDIR}/security/clamav
 DRAC_DESC=		Enable DRAC support
 DRAC_CONFIGURE_ON=	--with-drac=${LOCALBASE}
 DRAC_BUILD_DEPENDS=	${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
-HTTP_DESC=		Enable HTTP
+# XXX: Does not install vzic for now.
+# Only vzic depends upon glib.
+HTTP_DESC=		Enable HTTP (beta quality)
 HTTP_CONFIGURE_ENABLE=	http
 HTTP_LIB_DEPENDS=	libjansson.so:${PORTSDIR}/devel/jansson \
 			libical.so:${PORTSDIR}/devel/libical
-HTTP_USE=		GNOME=libxml2 SQLITE=yes
+HTTP_USE=		GNOME=libxml2,glib20 SQLITE=yes
 IDLED_DESC=		Enable IMAP idled support
 IDLED_CONFIGURE_ENABLE=	idled
 LDAP_DESC=		Enable LDAP support (experimental)
@@ -100,10 +101,7 @@ BDB_LIB_NAME=	no
 .if ${PORT_OPTIONS:MCLAMAV}
 IGNORE=		CLAMAV is not available yet
 .endif
-
-.if ${PORT_OPTIONS:MHTTP}
-IGNORE=		HTTP is not available yet
-.endif
+PLIST_SUB+=	CLAMAV="@comment "
 
 .if ${PORT_OPTIONS:MDRAC}
 IGNORE=		DRAC is not available

Added: head/mail/cyrus-imapd25/files/patch-tools__vzic__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/cyrus-imapd25/files/patch-tools__vzic__Makefile	Sat Mar 14 04:50:42 2015	(r381246)
@@ -0,0 +1,13 @@
+Index: tools/vzic/Makefile
+diff -u tools/vzic/Makefile.orig tools/vzic/Makefile
+--- tools/vzic/Makefile.orig	2015-03-04 07:44:41.000000000 +0900
++++ tools/vzic/Makefile	2015-03-14 11:47:18.444560930 +0900
+@@ -57,6 +57,8 @@
+ test-vzic: test-vzic.o
+ 	$(CC) test-vzic.o $(LIBICAL_LDADD) -o test-vzic
+ 
++install: vzic
++
+ # Dependencies.
+ $(OBJECTS): vzic.h
+ vzic.o vzic-parse.o: vzic-parse.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503140450.t2E4ohJl026228>