[Midnightbsd-cvs] mports [24809] trunk/mail/gmime2: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jan 19 01:49:02 EST 2019


Revision: 24809
          http://svnweb.midnightbsd.org/mports/?rev=24809
Author:   laffer1
Date:     2019-01-19 01:49:02 -0500 (Sat, 19 Jan 2019)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/mail/gmime2/Makefile
    trunk/mail/gmime2/files/patch-docs_Makefile.in
    trunk/mail/gmime2/files/patch-gmime-2.0.pc.in
    trunk/mail/gmime2/files/patch-mono_Makefile.in
    trunk/mail/gmime2/files/patch-tests__test-mbox.c
    trunk/mail/gmime2/files/patch-tests__test-mime.c
    trunk/mail/gmime2/files/patch-tests__test-parser.c
    trunk/mail/gmime2/pkg-descr
    trunk/mail/gmime2/pkg-plist

Added Paths:
-----------
    trunk/mail/gmime2/files/patch-config.sub
    trunk/mail/gmime2/files/patch-ltmain.sh

Modified: trunk/mail/gmime2/Makefile
===================================================================
--- trunk/mail/gmime2/Makefile	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/Makefile	2019-01-19 06:49:02 UTC (rev 24809)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gmime
 PORTVERSION=	2.2.27
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	mail
 MASTER_SITES=	GNOME
 
@@ -15,7 +15,7 @@
 SLAVEDIRS=	mail/gmime2-sharp
 
 USE_GNOME?=	glib20
-USES=		gmake pathfix pkgconfig iconv
+USES=		gmake libtool pathfix pkgconfig iconv
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS?=	--with-libiconv=${LOCALBASE} \

Added: trunk/mail/gmime2/files/patch-config.sub
===================================================================
--- trunk/mail/gmime2/files/patch-config.sub	                        (rev 0)
+++ trunk/mail/gmime2/files/patch-config.sub	2019-01-19 06:49:02 UTC (rev 24809)
@@ -0,0 +1,12 @@
+--- config.guess.orig	2019-01-19 01:44:16.037218000 -0500
++++ config.guess	2019-01-19 01:43:48.949910000 -0500
+@@ -794,6 +794,9 @@
+     *:BSD/OS:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ 	exit ;;
++    *:MidnightBSD:*:*)
++	echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
++	exit ;;
+     *:FreeBSD:*:*)
+ 	case ${UNAME_MACHINE} in
+ 	    pc98)


Property changes on: trunk/mail/gmime2/files/patch-config.sub
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/mail/gmime2/files/patch-docs_Makefile.in
===================================================================
--- trunk/mail/gmime2/files/patch-docs_Makefile.in	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-docs_Makefile.in	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,10 +1,7 @@
-
-$FreeBSD: ports/mail/gmime2/files/patch-docs_Makefile.in,v 1.5 2008/01/03 16:03:29 mnag Exp $
-
---- docs/Makefile.in.orig	2008-01-03 09:05:09.000000000 -0200
-+++ docs/Makefile.in	2008-01-03 09:05:21.000000000 -0200
-@@ -193,7 +193,7 @@
- target_alias = @target_alias@
+--- docs/Makefile.in.orig	2015-06-02 10:27:29 UTC
++++ docs/Makefile.in
+@@ -229,7 +229,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
 -SUBDIRS = reference tutorial

Modified: trunk/mail/gmime2/files/patch-gmime-2.0.pc.in
===================================================================
--- trunk/mail/gmime2/files/patch-gmime-2.0.pc.in	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-gmime-2.0.pc.in	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,10 +1,10 @@
---- gmime-2.0.pc.in.orig	Tue May  3 19:34:20 2005
-+++ gmime-2.0.pc.in	Wed Feb  1 00:51:53 2006
-@@ -7,6 +7,6 @@
+--- gmime-2.0.pc.in.orig	2011-03-07 18:09:21 UTC
++++ gmime-2.0.pc.in
+@@ -7,6 +7,6 @@ includedir=@includedir@
  Name: GMime
  Version: @VERSION@
  Description: MIME parser and utility library
 -Requires: glib-2.0,gobject-2.0
 +Requires: glib-2.0,gobject-2.0,gthread-2.0
- Libs: -L${libdir} @GMIME_LIBS@ @LIBS@
+ Libs: -L${libdir} @GMIME_LIBS@
  Cflags: -I${includedir}/gmime-2.0 @GMIME_CFLAGS@

Added: trunk/mail/gmime2/files/patch-ltmain.sh
===================================================================
--- trunk/mail/gmime2/files/patch-ltmain.sh	                        (rev 0)
+++ trunk/mail/gmime2/files/patch-ltmain.sh	2019-01-19 06:49:02 UTC (rev 24809)
@@ -0,0 +1,29 @@
+--- ltmain.sh.orig	2019-01-19 01:46:47.435817000 -0500
++++ ltmain.sh	2019-01-19 01:47:41.587210000 -0500
+@@ -4530,7 +4530,7 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
++	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+@@ -4550,7 +4550,7 @@
+ 	  esac
+ 	elif test "X$arg" = "X-lc_r"; then
+ 	 case $host in
+-	 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
++	 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
+ 	   # Do not include libc_r directly, use -pthread flag.
+ 	   continue
+ 	   ;;
+@@ -6486,7 +6486,7 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
++	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    ;;
+ 	  *-*-sco3.2v5* | *-*-sco5v6*)


Property changes on: trunk/mail/gmime2/files/patch-ltmain.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/mail/gmime2/files/patch-mono_Makefile.in
===================================================================
--- trunk/mail/gmime2/files/patch-mono_Makefile.in	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-mono_Makefile.in	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,6 +1,6 @@
---- mono/Makefile.in.orig	Sun Sep 11 23:59:29 2005
-+++ mono/Makefile.in	Mon Sep 12 00:06:09 2005
-@@ -466,11 +466,11 @@
+--- mono/Makefile.in.orig	2015-06-02 10:27:29 UTC
++++ mono/Makefile.in
+@@ -530,11 +530,11 @@ $(ASSEMBLY): $(build_sources) generated-
  install-data-local:
  	@if test -n '$(TARGET)'; then									\
  	  if test -n '$(DESTDIR)'; then								\

Modified: trunk/mail/gmime2/files/patch-tests__test-mbox.c
===================================================================
--- trunk/mail/gmime2/files/patch-tests__test-mbox.c	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-tests__test-mbox.c	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,6 +1,6 @@
---- tests/test-mbox.c.orig	Mon Feb 12 15:48:22 2007
-+++ tests/test-mbox.c	Mon Feb 12 15:48:54 2007
-@@ -26,6 +26,7 @@
+--- tests/test-mbox.c.orig	2011-03-07 18:09:21 UTC
++++ tests/test-mbox.c
+@@ -32,6 +32,7 @@
  #include <fcntl.h>
  #include <time.h>
  
@@ -7,4 +7,4 @@
 +#include <config.h>
  #include <gmime/gmime.h>
  
- #ifndef G_OS_WIN32
+ #include "testsuite.h"

Modified: trunk/mail/gmime2/files/patch-tests__test-mime.c
===================================================================
--- trunk/mail/gmime2/files/patch-tests__test-mime.c	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-tests__test-mime.c	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,10 +1,10 @@
---- tests/test-mime.c.orig	Mon Feb 12 15:48:32 2007
-+++ tests/test-mime.c	Mon Feb 12 15:49:04 2007
-@@ -21,6 +21,7 @@
- #include <stdio.h>
+--- tests/test-mime.c.orig	2011-03-07 18:09:21 UTC
++++ tests/test-mime.c
+@@ -27,6 +27,7 @@
  #include <string.h>
+ #include <ctype.h>
  
 +#include <config.h>
  #include <gmime/gmime.h>
  
- #ifndef G_OS_WIN32
+ #include "testsuite.h"

Modified: trunk/mail/gmime2/files/patch-tests__test-parser.c
===================================================================
--- trunk/mail/gmime2/files/patch-tests__test-parser.c	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/files/patch-tests__test-parser.c	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,6 +1,6 @@
---- tests/test-parser.c.orig	Mon Feb 12 15:48:38 2007
-+++ tests/test-parser.c	Mon Feb 12 15:49:14 2007
-@@ -26,6 +26,7 @@
+--- tests/test-parser.c.orig	2011-03-07 18:09:21 UTC
++++ tests/test-parser.c
+@@ -30,6 +30,7 @@
  #include <fcntl.h>
  #include <time.h>
  

Modified: trunk/mail/gmime2/pkg-descr
===================================================================
--- trunk/mail/gmime2/pkg-descr	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/pkg-descr	2019-01-19 06:49:02 UTC (rev 24809)
@@ -1,7 +1,7 @@
 GMime is a set of utilities for parsing and creating messages using
-the Multipurpose Internet Mail Extension (MIME) as defined by the 
+the Multipurpose Internet Mail Extension (MIME) as defined by the
 following RFCs:
- 
+
  * 0822: Standard for the Format of Arpa Internet Text Messages
  * 2045: Multipurpose Internet Mail Extensions (MIME) Part One:
          Format of Internet Message Bodies

Modified: trunk/mail/gmime2/pkg-plist
===================================================================
--- trunk/mail/gmime2/pkg-plist	2019-01-19 06:32:11 UTC (rev 24808)
+++ trunk/mail/gmime2/pkg-plist	2019-01-19 06:49:02 UTC (rev 24809)
@@ -51,9 +51,7 @@
 include/gmime-2.0/gmime/internet-address.h
 lib/gmimeConf.sh
 lib/libgmime-2.0.a
-lib/libgmime-2.0.la
 lib/libgmime-2.0.so
-lib/libgmime-2.0.so.4
+lib/libgmime-2.0.so.2
+lib/libgmime-2.0.so.2.2.27
 libdata/pkgconfig/gmime-2.0.pc
- at dirrm include/gmime-2.0/gmime
- at dirrm include/gmime-2.0



More information about the Midnightbsd-cvs mailing list