aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 17:14:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 17:14:16 +0000
commita110650af3f47fadb845c86674c3a6241bbb7ef7 (patch)
treee1f76fdb39125fde8d9772edf0068133cfef3068 /japanese
parentbc8f140ab0163b8bf084da8ea6874556e3603a96 (diff)
downloadports-a110650af3f47fadb845c86674c3a6241bbb7ef7.tar.gz
ports-a110650af3f47fadb845c86674c3a6241bbb7ef7.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mh/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 9247578746ab..e3e217b7060f 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mh (Japanese)
-# Date created: 28 March 1995
-# Whom: Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
-#
+# Created by: Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
# $FreeBSD$
-#
PORTNAME= mh
PORTVERSION= ${VERSION}.j${JP_VERSION}
@@ -27,6 +23,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-batchmode \
--enable-apop=${PREFIX}/etc/pop.auth --enable-rpop
MAKE_JOBS_UNSAFE= yes
+CFLAGS+= -Wno-return-type
MAN1= ali.1 anno.1 bbc.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 mark.1 \
mh-chart.1 mh.1 mhl.1 mhmail.1 mhn.1 mhook.1 mhparam.1 mhpath.1 \
@@ -47,6 +44,9 @@ CONFLICTS= nmh-[0-9]*
.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure
+
.if !defined(NOPORTDOCS)
pre-install:
${MKDIR} ${PREFIX}/share/doc/ja-mh