aboutsummaryrefslogtreecommitdiff
path: root/mail/mmc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-10 19:26:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-10 19:26:39 +0000
commite6b2587bcb56c1d08d4ffdd607539277818b7152 (patch)
treedcb58f987b67a6727ee7aa4f60dcfc44d19e1c48 /mail/mmc
parent2f70bd51602f37362abb92e5ee7b72725af8a369 (diff)
downloadports-e6b2587bcb56c1d08d4ffdd607539277818b7152.tar.gz
ports-e6b2587bcb56c1d08d4ffdd607539277818b7152.zip
Notes
Diffstat (limited to 'mail/mmc')
-rw-r--r--mail/mmc/Makefile18
-rw-r--r--mail/mmc/files/patch-src::protocols.cc11
2 files changed, 14 insertions, 15 deletions
diff --git a/mail/mmc/Makefile b/mail/mmc/Makefile
index c2cd77f8677d..003f0def5774 100644
--- a/mail/mmc/Makefile
+++ b/mail/mmc/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 0.5
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/-1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A tiny mail client for Gnome Desktop
@@ -18,22 +17,11 @@ COMMENT= A tiny mail client for Gnome Desktop
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
+CFLAGS+= -fpermissive
-.if ${OSVERSION} > 500000
-BROKEN= "Does not compile"
-.endif
-
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(gnomedatadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/mmc/files/patch-src::protocols.cc b/mail/mmc/files/patch-src::protocols.cc
new file mode 100644
index 000000000000..87971f5a6918
--- /dev/null
+++ b/mail/mmc/files/patch-src::protocols.cc
@@ -0,0 +1,11 @@
+--- src/protocols.cc.orig Sat Jan 20 00:19:56 2001
++++ src/protocols.cc Sat Nov 8 02:07:44 2003
+@@ -46,6 +46,8 @@
+ #include "progress.h"
+ #include "pop3.h"
+
++using namespace std;
++
+ // TODO: make the following List User-Configurable
+ gchar const * headers[] = {
+ "From:",