mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- Fix build on -current
PR: 59128 Submitted by: Ports Fury
This commit is contained in:
parent
2f70bd5160
commit
e6b2587bcb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93684
@ -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>
|
||||
|
11
mail/mmc/files/patch-src::protocols.cc
Normal file
11
mail/mmc/files/patch-src::protocols.cc
Normal file
@ -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:",
|
Loading…
Reference in New Issue
Block a user