From d202ce8fd23bc2823f01e0fe415b5921f70385e9 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 13 Sep 2005 16:53:25 +0000 Subject: o Improve previous fix for building on OSVERSION < 500000: simple patch instead of USE_GCC=3.4+ o Bump PORTREVISION due to dependency change --- mail/normalizemime/Makefile | 9 ++------- mail/normalizemime/files/patch-normalizemime.cc | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'mail/normalizemime') diff --git a/mail/normalizemime/Makefile b/mail/normalizemime/Makefile index 3d2c44d..a978418 100644 --- a/mail/normalizemime/Makefile +++ b/mail/normalizemime/Makefile @@ -7,6 +7,7 @@ PORTNAME= normalizemime PORTVERSION= 1.16.20050628 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://hyvatti.iki.fi/~jaakko/spam/ DISTNAME= normalizemime.cc @@ -34,10 +35,4 @@ do-build: do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:R} ${PREFIX}/bin -.include - -.if ${OSVERSION} < 500000 -USE_GCC=3.4+ -.endif - -.include +.include diff --git a/mail/normalizemime/files/patch-normalizemime.cc b/mail/normalizemime/files/patch-normalizemime.cc index f8974d6..f8a1954 100644 --- a/mail/normalizemime/files/patch-normalizemime.cc +++ b/mail/normalizemime/files/patch-normalizemime.cc @@ -1,6 +1,15 @@ ---- normalizemime.cc.orig Tue Aug 30 21:31:02 2005 -+++ normalizemime.cc Tue Aug 30 21:33:08 2005 -@@ -498,7 +498,7 @@ +--- normalizemime.cc.orig Tue Sep 13 00:03:52 2005 ++++ normalizemime.cc Tue Sep 13 00:04:18 2005 +@@ -58,6 +58,8 @@ + #include + #include + ++#include ++ + #include + #include + #include +@@ -498,7 +500,7 @@ char *obuf = buf; memcpy (icopy, message.c_str(), in_left); message.erase (); -- cgit v1.1