svn commit: r494832 - in head/mail/gmime26: . files

Muhammad Moinur Rahman bofh at FreeBSD.org
Wed Mar 6 19:12:51 UTC 2019


Author: bofh
Date: Wed Mar  6 19:12:49 2019
New Revision: 494832
URL: https://svnweb.freebsd.org/changeset/ports/494832

Log:
  mail/gmime26: Fix build if gobject-introspection installed
  
  PR:		236232
  Submitted by:	jcfyecrayz at liamekaens.com

Modified:
  head/mail/gmime26/Makefile
  head/mail/gmime26/files/patch-docs_Makefile.in
  head/mail/gmime26/pkg-plist

Modified: head/mail/gmime26/Makefile
==============================================================================
--- head/mail/gmime26/Makefile	Wed Mar  6 18:42:00 2019	(r494831)
+++ head/mail/gmime26/Makefile	Wed Mar  6 19:12:49 2019	(r494832)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gmime
 PORTVERSION=	2.6.23
+PORTREVISION=	1
 CATEGORIES?=	mail
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX?=	26
@@ -16,14 +17,26 @@ LIB_DEPENDS=	libgpgme.so:security/gpgme \
 		libassuan.so:security/libassuan \
 		libgpg-error.so:security/libgpg-error
 
+USES=		gettext-runtime gmake gnome iconv libtool localbase pathfix pkgconfig tar:xz
+
 SLAVEDIRS=	mail/gmime26-sharp
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}26
-USES=		gettext-runtime gmake iconv libtool localbase pathfix pkgconfig tar:xz
 USE_GNOME+=	glib20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
+
+OPTIONS_DEFINE=	GINTRO VALA
+OPTIONS_SUB=	yes
+GINTRO_DESC=	Install GObject Introspection data
+VALA_DESC=	Install vala binding
+GINTRO_BUILD_DEPENDS=	gobject-introspection>=0.6.8:devel/gobject-introspection
+GINTRO_RUN_DEPENDS=	gobject-introspection>=0.6.8:devel/gobject-introspection
+GINTRO_CONFIGURE_ENABLE=introspection
+VALA_BUILD_DEPENDS=	vala>=0.20:lang/vala
+VALA_CONFIGURE_ENABLE=	vala
+VALA_IMPLIES=	GINTRO
 
 # www.freebsd.org/cgi/query-pr.cgi?pr=118092
 # Rename uudecode and uuencode to gmime-* to not conflict with userland

Modified: head/mail/gmime26/files/patch-docs_Makefile.in
==============================================================================
--- head/mail/gmime26/files/patch-docs_Makefile.in	Wed Mar  6 18:42:00 2019	(r494831)
+++ head/mail/gmime26/files/patch-docs_Makefile.in	Wed Mar  6 19:12:49 2019	(r494832)
@@ -1,7 +1,7 @@
---- docs/Makefile.in.orig
+--- docs/Makefile.in.orig	2019-03-06 13:29:08 UTC
 +++ docs/Makefile.in
-@@ -201,7 +201,7 @@
- target_alias = @target_alias@
+@@ -377,7 +377,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
 -SUBDIRS = reference tutorial

Modified: head/mail/gmime26/pkg-plist
==============================================================================
--- head/mail/gmime26/pkg-plist	Wed Mar  6 18:42:00 2019	(r494831)
+++ head/mail/gmime26/pkg-plist	Wed Mar  6 19:12:49 2019	(r494832)
@@ -51,8 +51,12 @@ include/gmime-2.6/gmime/gmime-utils.h
 include/gmime-2.6/gmime/gmime-version.h
 include/gmime-2.6/gmime/gmime.h
 include/gmime-2.6/gmime/internet-address.h
+%%GINTRO%%lib/girepository-1.0/GMime-2.6.typelib
 lib/libgmime-2.6.a
 lib/libgmime-2.6.so
 lib/libgmime-2.6.so.0
 lib/libgmime-2.6.so.0.623.0
 libdata/pkgconfig/gmime-2.6.pc
+%%GINTRO%%share/gir-1.0/GMime-2.6.gir
+%%VALA%%share/vala/vapi/gmime-2.6.deps
+%%VALA%%share/vala/vapi/gmime-2.6.vapi


More information about the svn-ports-all mailing list