Hi,
autoconf detects gpgme when installed, and includes it libgmime's
.la file, breaking the build other ports like x11/gnome/totem when
then gpgme is no longer installed.
So, add security/gpgme to LIB_DEPENDS and adjust WANTLIB. Also, remove
security/libgpg-error from BUILD_DEPENDS, because it's already pulled in
by security/gpgme.
ok? Or should I try to disable gpgme support?
The interesting difference of the build log without vs. with gpgme
installed is this:
@@ -220,8 +218,8 @@
checking for getaddrinfo... (cached) yes
checking for getaddrinfo in -lsocket... no
checking for getaddrinfo in -lnsl... no
-checking for gpgme-config... no
-checking for GPGME pthread - version >= 1.1.6... no
+checking for gpgme-config... /usr/local/bin/gpgme-config
+checking for GPGME pthread - version >= 1.1.6... yes
checking for gobject-introspection... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
@@ -268,7 +266,7 @@
Large file support: no
Console warnings: no
PGP/MIME support: yes
- S/MIME support: no
+ S/MIME support: yes (via GpgME)
Strict parser: no
Mono bindings: no
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/gmime/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile 18 Dec 2016 10:00:06 -0000 1.54
+++ Makefile 23 Dec 2016 19:50:22 -0000
@@ -4,6 +4,7 @@ COMMENT= MIME messages creation and par
GNOME_PROJECT= gmime
GNOME_VERSION= 2.6.22
+REVISION= 0
SHARED_LIBS += gmime-2.6 0.2 # 622.0
@@ -16,6 +17,7 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += iconv intl pcre pthread z
+WANTLIB += assuan gpg-error gpgme-pthread
MODULES= x11/gnome
@@ -24,10 +26,8 @@ MODGNOME_TOOLS= gobject-introspection
# XXX No rule to make target 'GMime-2.6.metadata', needed by 'gmime-2.6.vapi'
#MODGNOME_TOOLS += vala
-# needed to build the tests
-BUILD_DEPENDS += security/libgpg-error
-
-LIB_DEPENDS= devel/glib2
+LIB_DEPENDS= devel/glib2 \
+ security/gpgme
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-mono
Ciao,
Kili