summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/gmime2/Makefile2
-rw-r--r--mail/gmime2/distinfo6
-rw-r--r--mail/gmime2/files/patch-src_Makefile.in33
-rw-r--r--mail/gmime2/pkg-plist4
4 files changed, 39 insertions, 6 deletions
diff --git a/mail/gmime2/Makefile b/mail/gmime2/Makefile
index bf8ea3a..af7c52f 100644
--- a/mail/gmime2/Makefile
+++ b/mail/gmime2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gmime
-PORTVERSION= 2.2.15
+PORTVERSION= 2.2.18
PORTREVISION?= 0
CATEGORIES?= mail
MASTER_SITES= http://spruce.sourceforge.net/gmime/sources/v${PORTVERSION:C/([0-9]\.[0-9]).*/\1/}/
diff --git a/mail/gmime2/distinfo b/mail/gmime2/distinfo
index b321fba..d3efed2 100644
--- a/mail/gmime2/distinfo
+++ b/mail/gmime2/distinfo
@@ -1,3 +1,3 @@
-MD5 (gmime-2.2.15.tar.gz) = 3a127bc0e26fe6bedb6e13d9d4ebdaae
-SHA256 (gmime-2.2.15.tar.gz) = f47110739c0adb8c8a7475e3ff7c4cdfc47ecaa011ce1ee9c192de4f61daa603
-SIZE (gmime-2.2.15.tar.gz) = 1028869
+MD5 (gmime-2.2.18.tar.gz) = 90b76399fca28ebbc4e5a4cb4cee4e46
+SHA256 (gmime-2.2.18.tar.gz) = 9eaef3d0a318aa10e10c879a4176e6747fa51d36f279e41a9011aeebf1d4c2f4
+SIZE (gmime-2.2.18.tar.gz) = 1034396
diff --git a/mail/gmime2/files/patch-src_Makefile.in b/mail/gmime2/files/patch-src_Makefile.in
new file mode 100644
index 0000000..5b2e3b1
--- /dev/null
+++ b/mail/gmime2/files/patch-src_Makefile.in
@@ -0,0 +1,33 @@
+#
+# http://www.freebsd.org/cgi/query-pr.cgi?pr=118092
+#
+# Rename uudecode e uuencode to gmime-* to not conflict with userland
+#
+--- src/Makefile.in.orig Thu Dec 6 14:46:22 2007
++++ src/Makefile.in Thu Dec 6 14:43:34 2007
+@@ -30,6 +30,7 @@
+ install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = $(program_transform_name)
++add_gmime = s/^/gmime-/
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+@@ -298,7 +299,7 @@
+ if test -f $$p \
+ || test -f $$p1 \
+ ; then \
+- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+ else :; fi; \
+@@ -307,7 +308,7 @@
+ uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
+ done
diff --git a/mail/gmime2/pkg-plist b/mail/gmime2/pkg-plist
index 6436dea..9329ff7 100644
--- a/mail/gmime2/pkg-plist
+++ b/mail/gmime2/pkg-plist
@@ -1,6 +1,6 @@
bin/gmime-config
-bin/uudecode
-bin/uuencode
+bin/gmime-uudecode
+bin/gmime-uuencode
include/gmime-2.0/gmime/gmime-charset.h
include/gmime-2.0/gmime/gmime-cipher-context.h
include/gmime-2.0/gmime/gmime-content-type.h
OpenPOWER on IntegriCloud